Viewing a site with ~?

Discussion in 'General' started by andrewfashion, Apr 23, 2009.

  1. andrewfashion

    andrewfashion New Member

    If the domain isn't setup yet, is there a way to see the site using the ~

    for example, I have 5 sites setup so far, but the domains haven't resolved yet, how can I see the site like this:


    is there a way to see the site like that?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not view sites with ~in ispconfig. You will have to use the domain name of the site to access the webspace. If the domain does not resolve yet, then you can set the correct IP for the domain in the hosts file of your workstation.
  3. andrewfashion

    andrewfashion New Member

    ah bummer, thank you! :D
  4. tebokkel

    tebokkel New Member

    Try a symlink to the files you want to see in the webfolder of the shared-IP site.

    I don't run ISPC 3 (yet), but in version 2 it would be like
    ln -s /var/www/web2/web /var/www/sharedip/nametotypeafterIP

    Then http://<ip>/nametotypeafterIP should work.
    Something like this probably works also in ISPC 3, since this doesn't depend on ISPC, as long as you have Options +FollowSymlinks in the corresponding Apache-config or -section.


    NB: ~ will not work with virtual users...
  5. Jorem

    Jorem Member

    By changing the apache module userdir you are able to visit the website with the second ip address followed by /~username/

    By changing the module from Userdir public_html to web , and path to dir from /home/www/* to /home/www/*/web

    Topic link:

Share This Page