papakilo Posted December 24, 2015 Posted December 24, 2015 Hey everyone, I has searched about this on Google, and found nothing information about my question. Create port in here like if you are have hosting on Heliohost, you must be find site like 'yourdomain.com:2082' so you can access your cPanel without typing 'yourdomain.com/cpanel', and ":2082" it is port, so my question is, how I can create port to my site, so I can type 'mydomain.com:99' and it will be show what I want to show on that link, thank's !
wolstech Posted December 24, 2015 Posted December 24, 2015 You can't. We don't allow people to open incoming ports on our server for security reasons.
ashrafjp Posted January 9, 2016 Posted January 9, 2016 Do you allow it in paid plan?or after request in forum? What`s the benefit of web applications- capable hosting if ports are not allowed?
ashrafjp Posted January 10, 2016 Posted January 10, 2016 Ok, how about JSP pages and Java applications?
wolstech Posted January 10, 2016 Posted January 10, 2016 JSP web pages and war files are Supported on Johnny. You need to request java and wait for it to be activated (can take quite some time due to resources available). Once active, you can upload jsp web pages or have us deploy a war file.
sagnik Posted February 6, 2016 Posted February 6, 2016 Hey Ashrafjp, at first you've asked about Port Redirection. So, if you want to redirect a request using port, you can edit .htaccess to use mod-rewrite module to rewrite urls.
wolstech Posted February 6, 2016 Posted February 6, 2016 @sagnik: No. It could be used to force https (if you have it) but you cannot redirect requests sent to other ports since our firewall would keep any connection not on a normal web port from ever reaching apache for the htaccess to process it.
sagnik Posted February 6, 2016 Posted February 6, 2016 Not exactly redirecting to another port. it's just a rewritten url. for example, "http://www.domain.tk:9090" point to "http://www.domain.tk/example/index.php" in .htaccess using mod_rewrite module. after it was set, when an user visit the url "http://www.domain.tk:9090", the user will see the content of "http://www.domain.tk/example/index.php".
wolstech Posted February 6, 2016 Posted February 6, 2016 The browser looks at the number and will actually attempt to connecting on port 9090 (which will fail)...htaccess is processed server-side, so unless you can specify a different port in your browser, and still somehow get the browser to connect on port 80, this will not work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now