Posts: 139
Thanks: 16
Thanked 33 Times in 25 Posts
default vhost
I read a lot of post in here about setting the default vhost file of apache but I cannot conclude to anything specific.
So I did this:
I renamed the default file to default.old (in case I need it later) in /etc/apache2/sites-available and I made a symlink of one of my vhost (eg xyz.com.vhost) to default. (ln -s xyz.com.vhost default)
Now I have the default vhost that I want (and not the first available when someone try to access by ip or by unknown subdomain), but I don't know if the above action interfere somehow with ISPConfig.
Does the ISPConfig uses the default vhost (the default file) for some particular reason?
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Quote:
Does the ISPConfig uses the default vhost (the default file) for some particular reason?
It is used for webmail and phpmyadmin. Changing the default vhost might disable webmail and phpmyadmin and all other webbased software that you might have installed with the package manager of your linux distribution.
Posts: 139
Thanks: 16
Thanked 33 Times in 25 Posts
Ok. So which is the best way to define the default vhost?
For the record, with the above change, I have no problem with webmail and phpmyadmin. I did the change after I have installed them
Recent comments
12 hours 34 min ago
17 hours 39 min ago
22 hours 3 min ago
23 hours 52 min ago
1 day 14 hours ago
1 day 14 hours ago
1 day 19 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 3 hours ago