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!

ServerAlias for a domain

Discussion in 'General Discussion' started by lloyd252, Sep 24, 2010.

  1. lloyd252

    lloyd252 Member

    Sep 24, 2010
    Likes Received:
    Trophy Points:
    I'm new to cPanel from Plesk and am trying to understand vhost configuration here. Most of my sites are built with Drupal and many make extensive use of multi-site installations requiring vhost configuration.

    At Plesk, I would edit the vhost.conf file for each domain with:

    ServerAlias *

    So a wildcard ServerAlias plus an alias so that a subdomain from another domain would also work.

    How can I do this in cPanel. I presume for the wildcard domain I could do it in a vhost template??? Never done that but based upon reading that's my guess. But that will affect all of my domains. And obviously the ServerAlias entries for external subdomains would need to be on a per-domain basis and not apply to every domain in cPanel.

    Your help is appreciated. Thanks.

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