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 23rd April 2009, 14:51
andrewfashion andrewfashion is offline
Junior Member
 
Join Date: Apr 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Viewing a site with ~?

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:

http://ip/~what/to/put/here

is there a way to see the site like that?
Reply With Quote
Sponsored Links
  #2  
Old 24th April 2009, 12:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th April 2009, 12:06
andrewfashion andrewfashion is offline
Junior Member
 
Join Date: Apr 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ah bummer, thank you!
Reply With Quote
  #4  
Old 24th April 2009, 14:07
tebokkel tebokkel is offline
Member
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 96
Thanks: 0
Thanked 9 Times in 9 Posts
Default

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.

Paul

NB: ~ will not work with virtual users...
Reply With Quote
  #5  
Old 24th April 2009, 14:21
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 4 Times in 4 Posts
 
Default

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: http://www.howtoforge.com/forums/showthread.php?t=4313
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
How Can I block geographic locations from viewing a site grandpagenocide Technical 11 22nd January 2009 17:43
Site Skeletons rbartz Feature Requests 11 29th November 2008 17:07
Viewing a site before DNS propagates andrewt Installation/Configuration 8 23rd March 2007 18:44
Trouble viewing Site chilka General 7 15th July 2006 14:31
Viewing site path doesnt work. kingkunt General 3 10th December 2005 23:50


All times are GMT +2. The time now is 22:19.


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