Welcome, Guest
Please Login or Register.
Lost Password?
Re: Re: Default server not working (1 viewing)
Post Reply

TOPIC: Re: Re: Default server not working

#2329
ChrisEyre (User)
Posts: 19
graphgraph
Default server not working 2006/07/13 12:33  
I've installed VMPro and set up 'Automatically create alias domain' on the default template so I can see virtual domains in the form of virtualdomain.mydomain.tld. I've now notice that the default server now points to the first virtual site I have set up, ignoring /var/www/html. I've reverted from the 'crate alias domain but problem still remains. Any thoughts?

When 'Automatically create alias domain' is selected what directives are set in the .conf files, or is there another mechanism?

Help most appreciated.
  The administrator has disabled public write access.
#2331
ChrisEyre (User)
Posts: 19
graphgraph
Re: Default server not working 2006/07/13 15:59  
Just spotted that this is perfectly normal under VMPro. Sorry to create noise. Would still like to know what directive the create alias domain instruction invokes.
  The administrator has disabled public write access.
#2332
Joe (Admin)
Posts: 4213
graph
Re: Re: Default server not working 2006/07/13 19:07  
Hey Chris,

The default domain stuff is standard Apache behavior--and is unrelated to the alias server feature or anything in particular that Virtualmin has done.

The alias feature uses the ServerAlias directive. It just adds a single line to the new domain that you're creating--nothing complicated at all, but superior to the automatic virtual hosts that are more commonly used for this purpose because it is not pattern-based and also respects SuExec (thus significantly more secure).

Here's the doc for ServerAlias:

http://httpd.apache.org/docs/2.0/mod/core.html#serveralias
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.