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 7th October 2007, 03:30
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
Default Change the home directory for web sites after install

Is there any way to safely change the directory where websites get set up after I've already installed ISPConfig?

I want to make it /var/www/.
Reply With Quote
Sponsored Links
  #2  
Old 7th October 2007, 10:55
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
 
Default

Within ISPConfig:
Go to Management > Server > Settings.
After that choose for the tab "Web" and change the field "Document root" within /var/www.

On your server (as root) move all your webs (webX) with their symbolic links like www.mydomain.com to /var/www/. If you don't have the directory /var/www/ then you should create it first.
__________________
Hans

MrHostman | Managed Hosting

Last edited by Hans; 7th October 2007 at 17:30.
Reply With Quote
The Following User Says Thank You to Hans For This Useful Post:
wxman (7th October 2007)
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
directories in /home/admispconfig/ispconfig renamed? Spudchat General 10 12th April 2007 20:37
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 04:40
mail problem - authentication (postfix,ISPconfig) marclar General 57 24th June 2006 17:24
Problems with Apache and Updating Jubalint Installation/Configuration 2 21st May 2006 20:50
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 16:35


All times are GMT +2. The time now is 04:56.


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