website no www redirect to https default osx website

I've reinstalled OS X server 5 on sierra on a host mac mini, i have a hosted domain and website works fine if i type the url with www, if i type the url without www i'm redirected on https and default OS X server website. Anyone have solved this problem?


Thanks, Andrea

Posted on Jan 18, 2017 4:56 PM

Reply
1 reply

Jan 19, 2017 3:23 PM in response to Cybermaster

Hello Cybermaster:

I suggest you use redirect to do it.

PATH: Server.app > Websites > The site you want to edit > click the icon has pen

> click the edit button which row is Redirects

if you see the default rule already in there which meaning "This Website redirect to SSL Site" then just click pen icon to edit

if you don't see anything in the pop-up window then you click "+" button to add new one.

Change first drop down box to "This Website".

Change second one to "Other Website...".

Enter your url to the third box.

After you finish your settings will look like this >

User uploaded file

Final step just click "OK" button to save it and restart your web service by switch off and on and it should be work.

Hope this can answer your question.

I would like to answer about your other related questions.


All the best & farewell 🙂

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

website no www redirect to https default osx website

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.