The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Domain Redirection and Masking

Discussion in 'General Discussion' started by purplep, Feb 21, 2002.

  1. purplep

    purplep Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    This is all in the hands of the webserver at the other end......
    what exactly is the webserver type?
     
  3. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  4. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    feanor you are fast!! :)
     
  5. purplep

    purplep Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  6. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  7. purplep

    purplep Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    did you take a look?
     
  8. Daniel

    Daniel Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    It's working fine now. The domain stays. :)
     
  9. purplep

    purplep Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    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!
     
Loading...

Share This Page