Accessing websites while domains are propagating

Discussion in 'General' started by TheVDM, Jan 5, 2013.

  1. TheVDM

    TheVDM New Member

    Hi, I would like to know if there is a way to access a website before the domain is set up or while it is propagating like you can when using cPanel with 111.111.111.111/~domain

    Regards
    Jim
     
  2. tahunasky

    tahunasky New Member

    Because the clients are not under the default document root (/var/www/html) you can't.

    However you can make a symbolic link to the website in the html doc root.

    All client websites are in this format:
    /var/www/clients/client1/web2/web

    ln -s /var/www/html/mywebsite /var/www/clients/client1/web2/web

    then you can access it like:

    192.168.1.1/mywebsite
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Please see faq:

    http://www.faqforge.com/linux/contr...ess-a-namebased-website-without-a-dns-record/

    This will not work for sites that contain scripts or cms sysetms as you will access the files with a wrong user.
     

Share This Page