Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th February 2007, 00:48
rmenzies rmenzies is offline
Junior Member
 
Join Date: Feb 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change website in /var/www from web9 to web29

Fixed my previous DNS issue by deleting my website in ISPConfig. One problem. now www.stingray-webdesign.com in /var/www points to /var/www/web9 instead of the newly created site /var/www/web29. Can someone explain how to change the www.stingray-webdesign.com in /var/www so it points to the right location. Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 6th February 2007, 05:36
jonwatson jonwatson is offline
Senior Member
 
Join Date: Feb 2007
Posts: 176
Thanks: 15
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by rmenzies
Fixed my previous DNS issue by deleting my website in ISPConfig. One problem. now www.stingray-webdesign.com in /var/www points to /var/www/web9 instead of the newly created site /var/www/web29. Can someone explain how to change the www.stingray-webdesign.com in /var/www so it points to the right location. Thank you.

I would think it's just a symlink, no? Something like

ln -s /var/www/www.stringray-webdesign.com /var/www/web29

I'm always getting the ln command backwards, though. Check it out before using it.
Reply With Quote
  #3  
Old 7th February 2007, 18:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by jonwatson
I would think it's just a symlink, no? Something like

ln -s /var/www/www.stringray-webdesign.com /var/www/web29

I'm always getting the ln command backwards, though. Check it out before using it.
It's the other way round:
Code:
rm -f /var/www/www.stringray-webdesign.com
ln -s /var/www/web29 /var/www/www.stringray-webdesign.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 7th February 2007, 18:25
jonwatson jonwatson is offline
Senior Member
 
Join Date: Feb 2007
Posts: 176
Thanks: 15
Thanked 3 Times in 3 Posts
 
Default

Quote:
Originally Posted by falko
It's the other way round:
Code:
rm -f /var/www/www.stringray-webdesign.com
ln -s /var/www/web29 /var/www/www.stringray-webdesign.com
Of course it is
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
Apache not reading conf? /var/www directory displayed when visiting any ISPC website toodles Installation/Configuration 2 15th February 2007 23:06
Domain Change in website Jose Gosalbez Installation/Configuration 15 19th July 2006 12:38
(co-)domain showing /var/www/ filelist instead of website locosoft Installation/Configuration 4 8th June 2006 12:08
Can not access website after uploading brianetilley Installation/Configuration 21 11th January 2006 19:43
how to change Web-Root: /home/www to /var/www/ mtuser Installation/Configuration 1 1st January 2006 12:01


All times are GMT +2. The time now is 07:51.


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