Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th January 2013, 23:04
TheVDM TheVDM is offline
Junior Member
 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing websites while domains are propagating

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
Reply With Quote
Sponsored Links
  #2  
Old 6th January 2013, 03:34
tahunasky tahunasky is offline
Member
 
Join Date: Jul 2012
Location: Buenos Aires
Posts: 84
Thanks: 1
Thanked 8 Times in 8 Posts
Default

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
Reply With Quote
  #3  
Old 6th January 2013, 18:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
 
Default

Please see faq:

http://www.faqforge.com/linux/contro...-a-dns-record/

Quote:
Originally Posted by tahunasky View Post
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
This will not work for sites that contain scripts or cms sysetms as you will access the files with a wrong user.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 Single server issues on POP3/IMAP/ MyDNS vk1003 Installation/Configuration 7 17th July 2012 15:25
Websites (web domains) and URLs dragosl General 0 9th June 2012 15:04
Accessing Virtual Domains Locally sheshes Server Operation 3 27th October 2010 15:05
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 8th May 2009 23:00
Is there a Script to add Multiple Domains (websites) to ISPCONFIG??? bpmee Programming/Scripts 2 23rd February 2007 01:33


All times are GMT +2. The time now is 11:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.