![]() |
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? |
Quote:
|
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 |
I followed your advice and left default untouched.
The trick I did is to make a symbolic link to my desired host: Code:
ln -s /etc/apache2/sites-enabled/001-mydesired.vhost /etc/apache2/sites-enabled/mydesired.vhost |
| All times are GMT +2. The time now is 18:58. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.