LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Easy way to host multiple sites on one IP (https://www.linuxquestions.org/questions/linux-networking-3/easy-way-to-host-multiple-sites-on-one-ip-154420/)

BrettPower 03-06-2004 10:49 PM

Easy way to host multiple sites on one IP
 
Not sure if anybody has posted this method yet, but here is what I did to easily host multiple domains on one IP.

Edit httpd.conf to include the following;

Listen 192.168.xxx.xxx:* (where 192.168.x.x is your router's internal IP address)

#userDir /~user/ I have seen pubic_html here a lot, which is what I had when mine did not work. This was is really easy. All you have to do is have a user account setup for each domain, and then just put a public_html in each user's home directory. It is that east.


All times are GMT -5. The time now is 06:09 AM.