6 posts / 0 new
Last post
#1 Tue, 06/03/2008 - 06:21
raulb

www option

I finally got my servers root domain to resolve :) but now when i go to www.mydomain.com it does not come up but when i go to just mydomain.com it does come up. So how do I enable www ?

Thanks again

Sun, 06/07/2009 - 07:23
ronald
ronald's picture

did you create the first virtual server?
cause normally under virtualmin - system settings - server templates - then navigate to Apache website in the dropdown - it would say on top ServerName ${DOM}
ServerAlias www.${DOM}

thus when a domain is created the www will be in place.

I suggest you create a virtual server for your main domain if you hadn't done so. Later you can put that on top of <virtualhost> in the Apache conf to have your servers IP resolve to that domain always instead of the latest domain created.
Im being preemptive :P

Sun, 06/07/2009 - 07:23
ronald
ronald's picture

did you create the first virtual server?
cause normally under virtualmin - system settings - server templates - then navigate to Apache website in the dropdown - it would say on top ServerName ${DOM}
ServerAlias www.${DOM}

thus when a domain is created the www will be in place.

I suggest you create a virtual server for your main domain if you hadn't done so. Later you can put that on top of <virtualhost> in the Apache conf to have your servers IP resolve to that domain always instead of the latest domain created.
Im being preemptive :P

Tue, 06/03/2008 - 08:04
raulb

thanks for the help
I figured this out myself. Now How do i enable SSL for that domain? I know SSL is working for webmin/virtualmin so I wanted configure that for my root domain.

Sun, 06/07/2009 - 07:23
ronald
ronald's picture

did you create the first virtual server?
cause normally under virtualmin - system settings - server templates - then navigate to Apache website in the dropdown - it would say on top ServerName ${DOM}
ServerAlias www.${DOM}

thus when a domain is created the www will be in place.

I suggest you create a virtual server for your main domain if you hadn't done so. Later you can put that on top of <virtualhost> in the Apache conf to have your servers IP resolve to that domain always instead of the latest domain created.
Im being preemptive :P

Tue, 06/03/2008 - 08:59
ronald
ronald's picture

SSL needs to be enabled in virtualmin - system settings - Features and Plugins first

for existing domains you can then edit the Virtualmin - Administration Options - Edit Owner limits - Allowed capabilities and features - Allowed features for servers - enable SSL website.

for new domains under the Server Template settings somewhere.
You usually have a dedicated IP per SSL domain.

Topic locked