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.

Vps domain access with tilde

Discussion in 'General Discussion' started by monologie, Apr 6, 2016.

  1. monologie

    monologie Registered

    Joined:
    Apr 6, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    maroc
    cPanel Access Level:
    Root Administrator
    favorite
    I have vps, and the vps is configured for multiple user access.for example if i want to access to user1/public_html/table/index.html folder i have to write in the url :

    http://hostname/~user1/table
    the vps domain name is configured for root user with whm interface.and i have created multiple user like user1, user2 with the whm. Is there any way to access my web application without the use tilde in the url for different users, how i can achieve this?

    thanks
     
    #1 monologie, Apr 6, 2016
    Last edited by a moderator: Apr 6, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Generally, the best alternative is to manually edit the "hosts" file on your workstation to point the domain name to the IP address it's assigned on the cPanel server. This will allow you to browse the domain name directly in your browser before it's DNS is updated:

    hosts (file) - Wikipedia, the free encyclopedia

    Thank you.
     
Loading...

Share This Page