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 forward

Discussion in 'General Discussion' started by laurie_m, Sep 2, 2004.

  1. laurie_m

    laurie_m Registered

    Joined:
    Jul 10, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I have searched the forums and google for an answer to my question. I'm sure it's something really simple I'm overlooking.

    I have nameservers running on my server and all domains are resolving as they should be. I wish to point a domain to another domain not on my server.

    fwd.domain1.com to go to domianonotherserver.com with IP address of XX.XX.108.98 (http, ftp and mail)

    I created the account in WHM then modified the zone file and restarted named. Still resolves to my server.

    Here is what I've done with the zone file:

    $TTL 14400
    @ 14440 IN SOA ns1.domain.com. lem.domain.com. (
    2004090202
    14400
    7200
    3600000
    86400
    )

    fwd.domain1.com. 14400 IN NS ns1.domain.com.
    fwd.domain1.com. 14400 IN NS ns2.domain.com.

    fwd.domain1.com. 14400 IN A XX.XX.108.98

    localhost.fwd.domain1.com. 14400 IN A 127.0.0.1

    fwd.domain1.com. 14400 IN MX 0 fwd.domain1.com.
    mail 14400 IN CNAME fwd.domain1.com.
    www 14400 IN CNAME domainonotherserver.com.
    ftp 14400 IN A XX.XX.108.98



    Any guidance very appreciated.

    thanks!
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    do at your server:

    dig fwd.domain1.com @localhost

    and paste the results here.
     
Loading...

Share This Page