Hi guys,
sorry to bother you with questions again, but for once I've got the intention of getting my server to work exactly as I want it, not just "working but not nice" and on the way I only want to do thinks that I feel I understand.
As such a few questions:
(I've installed ISPConfig 3, following the Perfect Server Howto, onto a fresh Debian Lenny.)
I have currently got 2 domains set up on the server. I've set
www.* aliases and these two domains work flawlessly.
I've also setup a webmail.domain1.tld site and symlinked the squirrelmail install into this. I created a webmail.domain2.tld alias for this and I intend to somehow automate this for future sites added, but that's not a priority at the moment.
www.domain1.tld --> works
domain1.tld --> works
www.domain2.tld --> works
domain2.tld --> works
webmail.domain1.tld --> squirrelmail
webmail.domain2.tld --> squirrelmail
The issue with the apache setup I'm having now is that I don't want the IP address or any unconfigured domains that point to the server IP (e.g. mail.domain1.tld, mail.domain2.tld) to point to the "It works!" bit in /var/www.
I'd like a "default" vhost that every unconfigured domain is routed to.
Can I edit /etc/apache2/sites-available/default for this purpose to point to e.g. /var/www/default? (I'd then put a single index.html in there saying "you've reached an unconfigured domain")
Is it advisable to manually create a seperate vhost for accessing things such as the amavis-stats etc ?
What is the general advice on how to handle "default pages" and the webmail thing ?
I hope what I wrote made some sense and you can give me some advice.
Thanks
Chris
Recent comments
1 day 3 hours ago
1 day 8 hours ago
1 day 12 hours ago
1 day 14 hours ago
2 days 4 hours ago
2 days 4 hours ago
2 days 9 hours ago
2 days 16 hours ago
2 days 17 hours ago
2 days 18 hours ago