These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for www option on the new forum.
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
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
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
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.
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
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.