Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Default subdirectory, addon domains & dns

    Hello; I would love some help on this matter. I am reasonably capable, but am new to cpanel and terminology at the web server end, so I am unsure what to "look for" when trying to educate myself on how to accomplish this task.

    We have a primary domain, eg: 'www.primary.com'
    we have added a sudomain, presently located in a subdirectory, of above, eg, 'www.sub.primary.com' (ie with the document root in /sub)

    We own a domain name , eg: 'mydomainname.org', and want to ensure that when someone types in 'mydomainname.org' that they land on the site that is stored in 'www.sub.primary.com' (the /sub document root) without seeing the "primary.com" portion of the url.

    Before I transfer the parked domain name (registered with network solutions), what should I do in cpanel?
    The sudomain shows in cpanel, but I don't know what to do next. In the domains portion of cpanel, I see options of "sudomains" "addon domains" "parked domains" "Redirects" and "Simple DNS Zone Editor", but alas it's all greek to me, and I'd rather ask first than do and then ask how to remedy :-)

    Advice very much appreciated.
    TKPRiva
    Last edited by TKPRiva; 03-07-2010 at 09:00 AM.

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Default

    Hi Thanks for the response, but no that is not what I need to know. I can handle the domain transfer at the dns end. I am asking what else I have to do in cpanel BEFORE i initiate the transfer in order to accomplish the setup I need regarding the urls. Riva

  3. #3
    Member
    Join Date
    Dec 2003
    Location
    Catalonia, EU
    Posts
    50
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Hi,

    This is the "Addon domains" stuff. No need to create the subdomain first, it is all done together.

    Addon Domains

    First of all you need to change the NS records for your domain at your registar, or you'll get an error when trying to point it to your subdomain.

    Regards,
    Last edited by JordiCS; 03-07-2010 at 07:00 PM.
    Jordi Casanovas - Bones Connexions
    Hostatge i cPanel en català

  4. #4
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    You will need to contact your domain registrar 'mydomainname.org' to set the domain forwarding with URL Masking which forwards to ''www.sub.primary.com'.

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Default

    thanks for the reply.
    just to make sure we are talking about the same thing.. if i do as you sugggest,
    a visitor to the site will not be aware they are in a sub domain of our other site, ie the www.sub.primary.com is not visible to them, and they will only see the registered domain url (mysubdomain.org).

    the subdomain files are in the .sub of the above url
    the primary domain files are in www.primary.com

    Sorry to reiterate, but I want to be sure I comprehend, and we are both talking about the same outcome, before I make the changes.

    take care
    TKPRiva

Similar Threads & Tags
Similar threads

  1. Question Regarding Addon Domains & setsiteip()
    By darrenl in forum cPanel Developers
    Replies: 1
    Last Post: 04-14-2010, 08:39 AM
  2. Spamassassin & Addon Domains
    By amh007 in forum New User Questions
    Replies: 1
    Last Post: 02-23-2007, 08:20 AM
  3. POP & SMTP settings for addon domains
    By Ulysses in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-18-2005, 03:09 PM
  4. addon-domain/subdirectory goes to addon-domain.main-domain.com/subdirectory/ ?
    By boatdesign in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-08-2005, 04:04 PM
  5. Addon & Sub Domains
    By nikez in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-23-2004, 11:38 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube