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!

Apache and addon domains

Discussion in 'EasyApache' started by optize, Oct 12, 2005.

  1. optize

    optize Well-Known Member

    Joined:
    Apr 27, 2005
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    166
    When someone creats an add-on domain from an existing domain, it will create in the httpd.conf

    ServerAlias www.newdomain.originaldomain.com
    ServerName newdomain.originaldomain.com

    Is there anyway to change that so it has nothing to do with the original domain? I want the script to just treat it like it's a new virtualhost entry and to only display 'www.newdomain' and not 'originaldomain.com'

    Let me know if this doesn't make sense.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,774
    Likes Received:
    93
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    thats how cpanel works it uses cpanel subdomain feature to add an add on domain without it the there would be no add on domain in the users cpanel


    it can be done but it would have to enter everthing manually in httpd.conf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. BraveX

    BraveX Well-Known Member

    Joined:
    Apr 8, 2005
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    166

    I'm wondering the same thing. This is especially confusing with email setup.

    Could you tell us what needs to be modified in httpd.conf?

    Thanks!
     
Loading...

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