Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cname question

Discussion in 'General Discussion' started by Draakje, Jan 25, 2006.

  1. Draakje

    Draakje Registered

    Feb 11, 2005
    Likes Received:
    Trophy Points:
    Hi everyone,

    I have a problem with a client. I made a website for him and he wants to stay with his current host for the email and the website-hosting with me. That is a bit difficult so we have registered another domain for the hosting of the site. Now the old domain has to forward to the new domain.... They set up a Cname but it doesn't work. It looks like it shows my server but not the site. It shows the famous cpanel-page. But when if i surf to the new domain i see the website normally.

    Do i need to do something too on my server? Or must the new site have its own ip-number? I read about Cname but still had these questions as it seems like its not working.

    Any ideas?

    Greetings and thanks.

    PS. The Cname we did was for the domain on the other server...
    we put there... is an alias for {edit: and the pont after .nl of course}
    #1 Draakje, Jan 25, 2006
    Last edited: Jan 25, 2006
  2. tuxdesk

    tuxdesk Well-Known Member

    Oct 1, 2005
    Likes Received:
    Trophy Points:
    edit httpd.conf properly
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Jun 15, 2002
    Likes Received:
    Trophy Points:
    Go on, have a guess
    If i've got you straight, then you need to add a ServeAlias line to the VirtualHost directive in httpd.conf of the new domain for the old domain:


    Then restart httpd.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice