my webserver port number

Feel free to ask any questions related to DNSEver. This forum is run by volunteers. There is no guarantee your question will be answered
You have to sign in http://www.DNSEver.com before you can post

my webserver port number

Postby redbaronn » Sat Oct 16, 2010 8:12 am

Hello!

My webserver is running on my home NAS system. I have a real IP address, with a specific port open for the webserver. But in this site I didn't found any place where I can enter my asigned IP address WITH the port number. Where I can do that?

Thanks ahead!
redbaronn
 
Posts: 1

Re: my webserver port number

Postby wayneconnolly » Sat Apr 19, 2014 2:08 am

DNS does not provide this as a feature, nor does it need to.

To do this you set up your websever (apache2 for instance) like the below example where you would change the default port 80 to whatever you want it to be.

Code: Select all
# Ensure that Apache listens on port 80
Listen 80

# Listen for virtual host requests on all IP addresses
NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /www/example1
ServerName www.example.com

# Other directives here

</VirtualHost>

<VirtualHost *:80>
DocumentRoot /www/example2
ServerName www.example.org

# Other directives here

</VirtualHost>


Reference : http://httpd.apache.org/docs/2.2/vhosts/examples.html
wayneconnolly
 
Posts: 4


Return to User Forum

cron