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.

trick to get www.myhost.com/~username

Discussion in 'General Discussion' started by scoopy, Aug 18, 2004.

  1. scoopy

    scoopy Member

    Joined:
    Aug 18, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Been trying to figure out how this is accomplished.

    http://www.myhost.com/~username

    I see other hosts with cpanel setups using this URL for a customer's temp address... for those that have not decided on their domain name yet, but want to get things setup in advance...

    After they get a domain name and it resolves they can use either to access their site...

    http://www.theirdomain.com or
    http://www.myhost.com/~username

    Searching this site and google has not been too helpful in this quest for knowledge. Our current setup is working using our IP address + ~username... but I can't seem to tie in our website to WHM to produce the above.
     
  2. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    Run a search on /~username ;)
     
  3. t c

    t c Active Member

    Joined:
    Aug 4, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    VA
    Look more into the mod_userdir tweak in whm. I adjusted that and that is how I setup my clients websites/usernames.
     
    #3 t c, Aug 18, 2004
    Last edited: Aug 18, 2004
  4. scoopy

    scoopy Member

    Joined:
    Aug 18, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    thanks, SarcNBit, searching "/~username" as opposed to "username" made a world of difference in the results I got.

    and thank you tc, that was exactly where this option was hiding. :cool:

    Now, after reading the notes about people mis-using a server's bandwidth because of this, We need to decide whether to allow this or not.

    thanks :)
     
  5. Lippy

    Lippy Active Member

    Joined:
    Jan 9, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Something that might help you decide is shared SSL uses this and new clients sometimes use this to verify thier files are working before their domain name propigates.
     
  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
  7. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    This question should probably be listed in the FAQ section. It has been asked quite a few times (and in quite a few different ways).
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Indeed. It would also help if cPanel updating the information on the mod_userdir tweak page which omits the trailing slash :rolleyes: Anyone feel like logging it ;)
     
  9. icanectc

    icanectc Well-Known Member

    Joined:
    Mar 10, 2003
    Messages:
    344
    Likes Received:
    0
    Trophy Points:
    16
  10. cPanelBilly

    cPanelBilly Guest

    We have noted that the trailing / was not there, it should show up on the page in the next few days.
     
  11. sayouly

    sayouly Member

    Joined:
    Oct 15, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    trailing slash did it

    :) I just set up my server and was searching for help getting accounts to preview with ip/~username. Then I read about the trailing slash. It works great. Thanks to all of you for your posts. Cheers.
     
  12. dtechman

    dtechman Registered

    Joined:
    Nov 17, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    temp upload url


    But what URL do you use to upload files to preview before site goes live? I use ip/~username/ to see the site but can not publish with front page from there.
     
  13. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
  14. dtechman

    dtechman Registered

    Joined:
    Nov 17, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    temp url

    No luck

    I am unable to connect using ftp://ipadddress
    ftp.ipaddress
    ftp.ipaddress/~newdomain

    I can only connect if the domain has already been transferred over.

    Does anyone know how to upload a website from outside the server to an account created in Web Host Panel before the domain name gets transferred. My clients have to be able to upload the site and test first.

    Help Please!

    David
     
  15. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    The FP extensions are installed into the account on the new server, right?
     
  16. dtechman

    dtechman Registered

    Joined:
    Nov 17, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    temp url

    Yes they are.

    From what I have been reading, should you be able to ftp a website to www.myhost.com/~username/ ?

    Thanks for any help you can give
     
  17. t c

    t c Active Member

    Joined:
    Aug 4, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    VA
    If you want to do this properly do the following:

    #1: Load up an FTP Client
    #2: For the FTP address use: IP ONLY (ie: 127.0.0.1)
    #3: For the Username use: %User% (Use your username)
    #4: For the Password use: %Pass% (Use your password)
    #5: Connect and there you go.

    :cool:
     
Loading...

Share This Page