Jump to content

How To Create Port ?


Recommended Posts

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 !

Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

  • 4 weeks later...

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.

Link to comment
Share on other sites

@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.

Link to comment
Share on other sites

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".

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...