Has anyone used macOS Server on High Sierra and a website?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Has anyone used macOS Server on High Sierra and a website?

Woodard Paul
Hi All!

I just installed High Sierra on a 2012 mac mini (fresh install and this is being use for learning and testing) and then added macOS Server. Now I’m trying to get a simple website to work where I can access it from another mac on my internal network. and am bumping my head against the wall.

Has anyone tried doing this?

Paul




____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____
Reply | Threaded
Open this post in threaded view
|

Re: Has anyone used macOS Server on High Sierra and a website?

Roger D. Parish
Could you be a little more specific?

Roger D. Parish
Lovettsville, VA



> On Oct 1, 2017, at 6:30 PM, Woodard Paul <[hidden email]> wrote:
>
> Hi All!
>
> I just installed High Sierra on a 2012 mac mini (fresh install and this is being use for learning and testing) and then added macOS Server. Now I’m trying to get a simple website to work where I can access it from another mac on my internal network. and am bumping my head against the wall.
>
> Has anyone tried doing this?
>
> Paul
>
>
>
>
> ____________TidBITS Talk Participation Guidelines____________
> Post only when you have something substantive to contribute.
> Be polite and constructive, and comment on posts, not people.
> Quote sparingly, if at all. We all read the previous message.
> Start threads with a new message to [hidden email].
> Read archives at: http://tidbits.com/pipermail/tidbits-talk/
> Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
> ____Mailing List Manners: http://tidbits.com/series/1141 ____




____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____
Reply | Threaded
Open this post in threaded view
|

Re: Has anyone used macOS Server on High Sierra and a website?

Woodard Paul
I’ll try bear with me, this is the first time I've used the server. 

On the mini server (high sierra and macOS Server) I activate Websites and then press the plus sign to add a new website. I enter a Domain name “paultest.com” and leave everything else as the default and press ‘create' 

I then edit it again and press the arrow next to “Store Site Files in: paultest.com” and it opens the folder MINI HD/Library/Server/Web/Data/Sites/paultest.com and it has been filled with default.html.xx alias’s (where xx is a language abbreviation like ‘en’ or ‘nl’). If I create an index.php
<?php echo “hello world this is from paultest.com”; ?>
and save it and go back to the Websites main page and - in the Websites section - press the arrow next to paultest.com, I get a ’Safari Can’t Find the Server’ message.

Note: there is a circle next to each website and none of them are green.

If I click the arrow next to ’Server Website’ the ‘Welcome to macOS Server’ webpage comes up.

If I go to another machine and in Safari just enter the IP address of the server I get a ’This Connection Is Not private” message, but if I click the ’Show Details’, ‘visit the website’ and enter my password, I get the  ‘Welcome to macOS Server’ webpage but it is the SSL version.

Hmmm, if I add a new site and point it to a folder inside MINI HD/Library/Server/Web/Data/Sites/Default it works from mac@ using either https://miniserver.local/testpaul.com or https://miniserverIP/testpaul.com 

Strange, it looks like the server is using the ‘Default’ as the root for all the sites.



On Oct 1, 2017, at 6:39 PM, Roger D. Parish <[hidden email]> wrote:

Could you be a little more specific?

Roger D. Parish
Lovettsville, VA



On Oct 1, 2017, at 6:30 PM, Woodard Paul <[hidden email]> wrote:

Hi All!

I just installed High Sierra on a 2012 mac mini (fresh install and this is being use for learning and testing) and then added macOS Server. Now I’m trying to get a simple website to work where I can access it from another mac on my internal network. and am bumping my head against the wall.

Has anyone tried doing this?

Paul




____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____




____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____




____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____
Reply | Threaded
Open this post in threaded view
|

Re: Has anyone used macOS Server on High Sierra and a website?

Jeff Porten
If you haven’t registered paultest.com as a real domain, this won’t work. Open the Sharing preferences, it will tell you what URL to use, such as somethingsomething.local. This will only work on your home network; if you want outside access, you can set that up with free services (I think), but it will take some fiddling with the service, your Mac server, and your home router. The local network should work fine as a single step.

Best,
Jeff


On Oct 1, 2017, at 7:19 PM, Woodard Paul <[hidden email]> wrote:

I’ll try bear with me, this is the first time I've used the server. 

On the mini server (high sierra and macOS Server) I activate Websites and then press the plus sign to add a new website. I enter a Domain name “paultest.com” and leave everything else as the default and press ‘create' 

I then edit it again and press the arrow next to “Store Site Files in: paultest.com” and it opens the folder MINI HD/Library/Server/Web/Data/Sites/paultest.com and it has been filled with default.html.xx alias’s (where xx is a language abbreviation like ‘en’ or ‘nl’). If I create an index.php
<?php echo “hello world this is from paultest.com”; ?>
and save it and go back to the Websites main page and - in the Websites section - press the arrow next to paultest.com, I get a ’Safari Can’t Find the Server’ message.

Note: there is a circle next to each website and none of them are green.

If I click the arrow next to ’Server Website’ the ‘Welcome to macOS Server’ webpage comes up.

If I go to another machine and in Safari just enter the IP address of the server I get a ’This Connection Is Not private” message, but if I click the ’Show Details’, ‘visit the website’ and enter my password, I get the  ‘Welcome to macOS Server’ webpage but it is the SSL version.

Hmmm, if I add a new site and point it to a folder inside MINI HD/Library/Server/Web/Data/Sites/Default it works from mac@ using either https://miniserver.local/testpaul.com or https://miniserverIP/testpaul.com 

Strange, it looks like the server is using the ‘Default’ as the root for all the sites.



On Oct 1, 2017, at 6:39 PM, Roger D. Parish <[hidden email]> wrote:

Could you be a little more specific?

Roger D. Parish
Lovettsville, VA



On Oct 1, 2017, at 6:30 PM, Woodard Paul <[hidden email]> wrote:

Hi All!

I just installed High Sierra on a 2012 mac mini (fresh install and this is being use for learning and testing) and then added macOS Server. Now I’m trying to get a simple website to work where I can access it from another mac on my internal network. and am bumping my head against the wall.

Has anyone tried doing this?

Paul




____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____




____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____



____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____



____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____