The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pre-nameserver propagation route

Discussion in 'Security' started by lokust, Aug 21, 2005.

  1. lokust

    lokust Registered

    Joined:
    Aug 21, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi.

    How can I access my host account pre-nameserver change?

    Say for example that I register my domain www.ejemplo.com in WHT with username ejem88

    This domain is assigned the IP: 123.456.789

    In Direct Admin I would access my account like this: http://123.456.789/~ejem88

    This doesn't work on Cpanel.

    Thanks for your help :eek:
     
  2. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ~ "/(extra|special)/data"
    1. Login to WHM
    2. Click "Tweak Security"
    3. Click "Configure" under the "mod_userdir Tweak" paragraph.
    4. Either: a) Uncheck the "Enable mod_userdir Protection."; or b) Find the username "ejem88" in the list and tick the "Exclude Protection" box next to it.
    5. Save settings and go to http://123.4.56.78/~ejem88
     
  3. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ~ "/(extra|special)/data"
  4. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    And if you're running Windows, you can add the relevant domain name and IP address of the new server to c:\windows\system32\drivers\etc\hosts - this will cause Windows to resolve the relevant domain name to the IP you specify, instead of performing a DNS lookup. The format of the file is explained within itself.

    I find this useful during such interim periods.
     
  5. lokust

    lokust Registered

    Joined:
    Aug 21, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    oh sorry. I should have stated that I'm not admin. I have a reseller account on Cpanel - So I guess the admin have mod_userdir disabled.

    Just googled to see if this can be activated by .htaccess - nothing came up. :eek:
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, you would have to ask your hosting provider to enable access through mod_userdir for you.
     
Loading...

Share This Page