Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    3

    Default redirect a parked domain to an add-on domain?

    hi all,

    is it possible to redirect a parked domain to an add-on domain? the only way i can seem to do this is create 2 add-on domains and redirect one to the other - within the add-on domains section. can't find anywhere else to do this...

    thanks,

    ben

  2. #2
    Member
    Join Date
    Aug 2005
    Posts
    35

    Default

    Possibly using mod_rewrite rules or perhaps even a php redirect.

    Alternatively, if your just trying to give an alias to an add-on domain/pointer, this can only be done in the webhost manager. Under DNS, their is a "Park domain" option, click on it, find the pointer park it.. tadow.

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    3

    Default

    thanks GTFO. it just seems a little silly that you have to specify 2 add-on domains just to a secondary domain to the first one. the park option under dns, just gave me an error...
    Sorry [] is not a valid domain name. i wonder. i'll try using a php redirect or something... its times like these i wish i had just stuck with my dedicated, linux, hand configured, non cpanel server... cheers...

  4. #4
    Member
    Join Date
    Aug 2005
    Posts
    35

    Default

    Id recommend trying the parked domains option again, i've done this on add-on domains many times in the past with success. Make sure that your specifying the domain name in the box on the right, and also, I believe your supposed to park it on the sub-domain for your addon domain rather than the actual domain name for your addon domain. Give that a try.

    Alternatively
    1. create a dns record for it
    2. add a "serveralias domain.com www.domain.com " entry to subdomain entry in the httpd.conf
    3. add the domain name to /var/cpanel/users/username in a DNS#=domain.com entry
    4. add the domain to /etc/localdomains
    5. touch a file "domain.com in /etc/valiases/ and add "*: username" to it

    I believe those are all the entries it makes...

    " its times like these i wish i had just stuck with my dedicated, linux, hand configured, non cpanel server... cheers..." .. Their are far worse things out their than cpanel.. (plesk)

Similar Threads & Tags
Similar threads

  1. Parked Domain / Redirect not working
    By Hedloff in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 03-21-2011, 12:01 PM
  2. Parked Domain / Redirect Scenario
    By verdon in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-25-2008, 07:51 AM
  3. how to give parked domain/add domain limit
    By wildnis in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-07-2005, 06:35 PM
  4. URL redirect parked domain?
    By BigLoveXXX in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-04-2004, 09:01 PM
  5. parked domain pointing to add-on domain
    By enorth in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-20-2004, 09:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube