Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web forwarding to an IP address

Status
Not open for further replies.

jimmynt

IS-IT--Management
Apr 20, 2002
1
US
This is the situation. I have my web page hosted on web host A. They are running Apache web server. I am also using a hosted DNS service. Lets say my web server is at and my ip address is 10.0.0.1. Is it possible for me to set this up under DNS that any web requests to get sent to ip address 10.0.0.1. There is NO A record for to resolve to 10.0.0.1. I called my managed DNS provider, and he provided me with the following advice: That what I was trying to do with the web forwarding would work, but that when I have it web forward to the ip that the apache server doesnt know where to put me, so it just pops up the default page, and that I needed to perhaps do a web forward from to ( where dir would be the virtual directory of that website on the hosted server). Now with that said, I did so, but it still doesnt work. If someone could give me a step by step or overhead view of how this might work, it would be SUPER appreciated.

Thanks

Jimmy
 
Hi mate,

What he said about apache not knowing where to direct the request is totally wrong!! Please tell him I said that!![wink]

Use virtualhosts and this tells apache where to direct any request that is made for different domains.

You will find all the info about virtualhosts in the FAQ section of this forum..

Hope this helps Wullie

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top