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,894
Thanks: 693
Thanked 4,189 Times in 3,206 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
4 hours 46 min ago
14 hours 14 min ago
15 hours 3 min ago
18 hours 37 min ago
23 hours 1 min ago
23 hours 23 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 16 hours ago
1 day 17 hours ago