Q: Multiple Sites Set up
Hi,
I am hoping someone can shed some light on my situation.
I used the default directory to to put all my site files and configure the website service to load my site when my people access my site via example.com
I want to create a site (and folders) specifically for the default page where users can change their password as I need to implement a password policy to increase security. I want it to have a slightly different URL for the default page for example portal.example.com
So in summary, what I think I need to do is:
Create a new site for example.com called example.com in the server app.
Put all my website files here.
Add an Additional Domain to the default "Server Website" website called portal.example.com
Add an alias to point visitors to the "Server Website" website example.com to the example.com website folders and therefore webpages.
Is there a cleaner more official way of setting this up as ideally I would like another site for my round cube webmail and any other things I need to create in future?
Many Thanks,
Henry
Mac mini, OS X El Capitan (10.11.3), Server 5.0.15
Posted on Jan 29, 2016 9:38 AM
Hi Henry,
Where your email gets picked up is defined in your mx records. Normally you want your emails to be smith@example.com and not smith@portal.example.com.
Normally the subdomain portal.example.com would be used for the Server apps funcionatlity, Profilemanager etc. And example.com would be your site for outsiders. With this setup you avoid the hassle of redirects.
You can still change this without major hassle.
Do you mean that if I create an example.com site to load from Library/Server/Web/Data/Sites/example.com that the Server Page will then be available from server.example.com that loads from Library/Server/Web/Data/Sites/Default ?
YES!
Yours
Pierre
Posted on Jan 31, 2016 1:04 AM