|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Adding to my previous post.
I am running an apache web server on my windows xp machine, just for development purposes. My computer does not serve pages over the internet. The machine is running Windows xp professional behind a router with a static IP address. I also have a domain name and the DNS is run from my ISP, but there is a server on my network which can run DNS (static IPs). I would just like to run some virtual hosts on my local machine for development purposes. I am not interested in anyone accessing these servers from the public, at all. I have been reading a lot about Windows loopback, ip aliases, and such. The apache site tells how to set up IP-based virtual hosts, but I am not sure how to set up additional IPs on this computer. can anyone supply a simple answer or more good references I can add to my collection? Thanks again. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
sweet_cheex wrote: > Adding to my previous post. > The machine is running Windows xp professional behind a router with a static > IP address. I also have a domain name and the DNS is run from my ISP, but > there is a server on my network which can run DNS (static IPs). I would just like to run some virtual hosts on my local machine for > development purposes. I am not interested in anyone accessing these servers > from the public, at all. Do you Want to access this Apache from internet? if so, then you will have to do a static nat between the router and the apache machine's private IP. > I have been reading a lot about Windows loopback, ip aliases, and such. The > apache site tells how to set up IP-based virtual hosts, but I am not sure > how to set up additional IPs on this computer. can anyone supply a simple > answer or more good references I can add to my collection? > > Thanks again. I don't think you will need IP aliasing becuase you have only one static IP from your service provider, to do the static NAT I suppose you need to configure virtual hosts 1- Configure static NAT between the router and the Private IP of the apache machine "this will require one free public IP from your ISP", and if you meant Modem not Router so you will have to look up your modem model for how to set up NAPT or port redirection. 2- Configure <VirtualHost> hosts on the same IP. http://johnbokma.com/windows/apache-...-hosts-xp.html Now the DNS you are talking about is useful if you were using the apache from inside the lan, but what if you are going to use this Virtual Hosts from the outside ? you will have to either register the virtual hosts with a registrar or configure you HOSTS file to include them. Regards |
|
![]() |
| Outils de la discussion | |
|
|