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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th August 2010, 00:56
collimic collimic is offline
Member
 
Join Date: Dec 2008
Posts: 43
Thanks: 7
Thanked 0 Times in 0 Posts
Default Removing a hosted site

This might sound like a strange question but I am having problems removing web sites with ISPconfig2.
Lets say I am hosting a site www.domain.ltd and then I have to remove it and lets say it takes database location web49. When I open the site and click on the delete button it will go away. Then I go to the DNS Manager and remove it from there as well. Once that is all gone I empty the recycle bin in ISP Config and it is all gone you would think. Once it is all said and done the web server restarts. when it tried to restart it fails. with errors like /var/www/web49/web missing.

Any ideas as to why it is not removing it from the Vhosts_ispconfig.conf file?
If I go and remove it manually for the Vhosts_ispconfig.conf and then issue the command /etc/init.d/apache start it will start. but if I do not manually remove the entries from Vhosts_ispconfig.conf it will always give the error /var/www/web49/web is missing and will fail.

Any help would be great.

Also is there a way to recycle the web## so when I do get a site to delete if I have a web48 and a web50 it takes the web49 again?
Reply With Quote
Sponsored Links
  #2  
Old 28th August 2010, 09:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

See here:

http://www.howtoforge.com/forums/showthread.php?t=7719
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
collimic (31st August 2010)
  #3  
Old 31st August 2010, 07:24
collimic collimic is offline
Member
 
Join Date: Dec 2008
Posts: 43
Thanks: 7
Thanked 0 Times in 0 Posts
Default

ok I got it updating the Vhost file again. Thank you till.
1 more question if I may. Is there a way to recycle the web## If I delete site 48 (web48) and I create a new one it might take something like web85 and it leaves web 48 blank from now on. I have a few sites that have had to be recreated after deletion and it take the next number. Is there a way to fix that do it uses the next available and not the next in line.
Reply With Quote
  #4  
Old 31st August 2010, 07:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
 
Default

These numbers are the auto increment values from mysql, they can not be reused.
__________________
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
Site Skeletons rbartz Feature Requests 11 29th November 2008 16:07
I just need one website...... showe1966 Installation/Configuration 21 19th September 2007 23:20
Static Web Site Configurations christopher Installation/Configuration 8 18th November 2006 14:43
Removed site, but it is still there mromer General 2 21st December 2005 17:46
ISPConfig pop3 problem mphayesuk General 21 31st October 2005 10:53


All times are GMT +2. The time now is 13:03.


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