I have a single IP address say 10.10.55.55
I want my VM to use a certain port whenever a specific URL is used, but without having to specify the port.
So instead of saying mydev.net:8200 I'd like to say mydev.net (to hit the docroot) and for the port to be implied. How can I do this with Apache 2?
<VirtualHost *:8200>
ServerAdmin [email protected]
DocumentRoot /var/www/html-8200/
ServerName mydev.net
ServerAlias www.mydev.net
AllowEncodedSlashes On
RewriteEngine on
RewriteOptions Inherit
</VirtualHost>
mydev.net
- in yourServerName
directive, or a connecting client browser?