Domain Redirection and Masking

purplep

Well-Known Member
Feb 6, 2002
59
0
306
Hi,

I have a client who wishes to forward any requests to hisdomain.net to the IP address of the server he has set up at home.

He has used Cpanel to set up redirection from his domain to the IP. It all works fine, except it displays the IP address in the browser.

How can I mask this so even though the redirection has taken place it still says hisdomain.net in the browser?

Thanks.
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
This is all in the hands of the webserver at the other end......
what exactly is the webserver type?
 

Daniel

Well-Known Member
PartnerNOC
Aug 13, 2001
165
0
316
Edit the DNS zone file for the domain and change the IP to the IP of his home server.

domain.com. 14400 IN A 00.000.000.000 &change to his IP

If he still wants mail to go to your server you will need to set mail.domain.com to your IP. And change the MX record to mail.domian.com.

That should do it if you have any problems let me know.
 

purplep

Well-Known Member
Feb 6, 2002
59
0
306
Hi,

Thanks for the quick reply!!

I have tried editting the DNS to...

domain.com. 14400 IN A &HIS IP&

And when you go to the domain it still shows up the IP address.

Any other ideas?

The guy is using Apache at his end i believe. Also he has it set at 000.000.000.000/paul
 

Daniel

Well-Known Member
PartnerNOC
Aug 13, 2001
165
0
316
I would say your ISP has the DNS in cache and you are still getting the redirect. What is the domain and I'll try it. Email me if you don't want to post it.
 

purplep

Well-Known Member
Feb 6, 2002
59
0
306
Thanks for that.

Why he has paid for hosting with us and then wants his domain pointing at his own server beats me! If only all customers were like this!