1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can anyone bisides you tell if domain is addon or top-level cpanel?

Discussion in 'Web Hosting' started by mgma4, May 28, 2011.

  1. mgma4

    mgma4 Registered Member

    Joined:
    Jan 12, 2011
    Messages:
    59
    Likes Received:
    0
    Hi, I'm wondering if anyone besides yourself can tell whether a domain was put as an addon as opposed to its own cpanel. For example, can someone tell if you have domains placed as addons to a single cpanel, as opposed to multiple cpannels through reseller account?
     
  2. boobooboy

    boobooboy Regular Member

    Joined:
    Jan 11, 2009
    Messages:
    340
    Likes Received:
    70
    It's impossible to tell if you use addon domain. You are safe.

    Within the server they are added as subdomain but to outside world they will think the domain has it's own hosting account.
     
  3. other_henry

    other_henry Junior Member

    Joined:
    Jun 1, 2011
    Messages:
    107
    Likes Received:
    19
    Occupation:
    Freelance coder, server guy
    Location:
    US

    A lazy/incompetent host may sell addon domains that are really redirects instead of being true virtual hosts.

    Run a http response code check on an existing add on domain, it should return a 200 response, a 301 response means it's a redirect.
     
    • Thanks Thanks x 1
  4. ktown

    ktown Newbie

    Joined:
    Sep 23, 2010
    Messages:
    28
    Likes Received:
    8
    good info. thankx. can you tell how to do it?
     
  5. other_henry

    other_henry Junior Member

    Joined:
    Jun 1, 2011
    Messages:
    107
    Likes Received:
    19
    Occupation:
    Freelance coder, server guy
    Location:
    US
    You will need to know of an addon domain to test.

    Do a search for "HTTP Server Response Code Checker" to find a site to test the page. Enter the page in the box on the tester and it will get the response code.
     
  6. m0nster

    m0nster Senior Member

    Joined:
    Oct 20, 2010
    Messages:
    1,044
    Likes Received:
    1,003
    Occupation:
    Offline Marketing
    Location:
    USA
    thanks

    Code:
    http://www.searchenginepromotionhelp.com/m/http-server-response/code-checker.php
     
  7. Viltedali

    Viltedali Regular Member

    Joined:
    Feb 10, 2008
    Messages:
    305
    Likes Received:
    32
    Location:
    Midwest-US
    Seems like a person could look at your site ip address, use one of the online tools to see other sites that share the ip, I guess look to see which is the oldest domain, and then try visiting 'sitea.com/siteb' (I forget off-hand the format of the add-on domain directory name, if it adds '.com' or not) to see if siteb is an add-on.

    If you're on a shared hosting account with many other sites, it would take work to check this way, and, you could just get a dedicated ip address to stop this type of check, if it is applicable in the 1st place.
     
  8. Hostwinds

    Hostwinds Power Member UnGagged Attendee Enterprise Member

    Joined:
    May 17, 2010
    Messages:
    766
    Likes Received:
    544
    Occupation:
    C.E.O.
    Location:
    Oklahoma
    Home Page:
    A dedicated IP address would actually make the problem worse, because then it would only be your websites coming back from that IP, instead of every other account on the server + your websites

    and the format is

    sitea.com/siteb or sitea.com/siteb.com however thats jsut the defaults from cpanel, this could be avoided by simply using a different folder name when creating the addon domain

    OR even better actually putting the addon folder above the public_html folder (in your root directory), and telling the addon domain this when creating the domain so instead of the path being

    /home/username/public_html/addondomain.com

    It would be

    /home/username/addondomain.com

    This is very easy to change when actually creating the domain, but much harder to change if the domain is already created, in fact if you are on shared hosting you web host would have to actually edit the httpd.conf file

    This is of course assuming you are using Cpanel, let me know if you have any questions
     
  9. Viltedali

    Viltedali Regular Member

    Joined:
    Feb 10, 2008
    Messages:
    305
    Likes Received:
    32
    Location:
    Midwest-US
    I meant for that domain only, not for the rest of the domains in your hosting account.

    Yeah, the folder names can be changed when adding a new domain, but cpanel prepopulates the folder name field as soon as you type in the domain name, so I imagine most people don't bother to change it.