Welcome to WebmasterWorld Guest from 54.198.93.179

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache VirtualHost Configuration help - newbie

     
2:09 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



I have a windows xp box that i am using to run a personal site and a forum for some friends and i watned to do virtual host on it to be able to run both off there. i had to take my personal site off to run the forum on there. Sorry for hte rather long post but i will try to provide as much detail as possible about my setup

Machine specs
Windows XP SP1a
Apache 2.0.52

Router
Linksys router
Comcast Cable connection (does fine for the small amt of traffic i get)

Router/Comcast Setup
Comcast has given me a IP, lets just say xx.xx.xx.xx and I have that line plugged into the router. from the router i have a RJ45 running to the XP box which i will refer to as the server. the server has its ip 192.168.1.100
I have two domains forum adn personal site respectively
www.9thgenrolla.com and www.superfob.net currently both point to the IP provided by comcast so if you type in either it takes u to the 9thgenrolla.com

Apache Setup:
Directory of apache install is
C://Program Files/Apache Group/Apache2/htdocs
inside htdocs is where all my stuff that's available to public is.

I've been reading a lot of stuff on this and tried a few but I've failed miserably. I'm more of a programming person but dont have a lot of knowledge about servers of networking. I hope some one can help me set it up so that I may get both up and running. It would be greatly appreciated.

Thanks,
rish1103

2:09 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



Forgot to add, If you need any more details on the setup, Please do ask, I will try to provide as much of this information as i can.
3:05 pm on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You have to get the local IP of your server box and then go into the lynksys setup@ [192.168.1.1...]

go to >application & gaming and enable port range forwarding.

application >apache start > 80 end > 80 IP Address (the local IP address) check enable. save.

Actually if you can get to "Applications & Gaming" on your router admin it should tell you pretty much how to do it, I just gave you what works for me, your admin may be a bit different.

4:17 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



I have it working. i just want to know how to setup the VirtualHost in my httpd.conf file for apache.if you go to either of those domains now they take you to the site.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month