LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   http://localhost apache (https://www.linuxquestions.org/questions/linux-software-2/http-localhost-apache-61452/)

MasterC 05-25-2003 11:54 AM

Well you "ip addy" doesn't since you have a DNS doing it for you. Assuming you are using dyndns because you have a dynamic IP you shouldn't worry about what your IP is ;)

And to bind a specific IP to your DNS name, well that should be done by your registrar (dyndns.org). The rest is done by ensuring that port 80 is open and that apache is running, that's it. When people access your box:
http://bennetm.kicks-ass.org OR
http://1.2.3.4 (which is actually your IP you get from typing "ifconfig")
they should get your DocumentRoot index.html (or variation of it)

Cool

matt3333 05-25-2003 01:55 PM

Ok thanx so i dont need to add my ip addy anywhere, so under virtualhost i should make a NameVirtualHost like this <Virtualhost 1.2.3.4> ServerName bennettm.kicks-ass.org ServerPath /var/www/html </VirtualHost>?? i put this in httpd.conf???? or in vhosts??? Thanx

Matt3333


All times are GMT -5. The time now is 08:49 AM.