New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Delete virtual hosts using Minstall on Debian 6 32bit minimal vps?
Hello!
I have a 128mb ram vps with Debian 6 32bit minimal, i have installed minstall with nginx, php and mysql on and have for the moment 3 sites on the vps, two static and one wordpress site. I wonder how i can delete one of the virtual host on minstall using a command?
/Johanc
Comments
Just go to /etc/nginx/vitual-host or something like that
You can delete the host from
/etc/nginx/host.d/
or use minstall to delete it, i think the command is something likemanage-remove-host
.a2dissite nameofsite eg: a2dissite www.example.com
this can only be used if you have the site on the sites-available folder. im not sure if it works if you use the host.d method.
I use this:
bash minstall.sh manage-remove-host
Thanks all!