RE: user web pages...
If I activate Websites and Wiki, I am always redirected to my machine.private/wiki and can't access the serverwebsite.
other problem: i can't access userpages with mymachine.private/~username/test/ (with permissions set to Read for everyone).
Hi Michael,
Yes, my instructions from the above post assume you have a local DNS server running that translates "mymachine.private" into the appropriate local IP address of your machine. If you are not running your own local DNS server, then you will have to use the IP address.
Let's start piecemeal, so first turn off the Websites and Wiki switches in the Server.app.
Using Server.app, in the Websites pane, make sure the Server Website is setup properly: /Library/Server/Web/Data/Sites/Default . Then when you turn on the ON switch, there should be a "View Server Website->" button active. Click on this button. Does it not open your "Welcome to Server" web page on "mymachine.private"? If it doesn't, then perhaps your server setup does not include a local DNS? Do you have a local DNS server that interprets "mymachine.private" to give your computer's local IP address? If not, then let's say the assigned IP address for your computer is 192.168.1.25. In the address bar of Safari, enter the URL "http://192.168.1.25"; this should open your "Welcome to Server" web page. Once you see the "Welcome to Server" default web page, then you can add your own "index.html" in the /Library/Server/Web/Data/Sites/Default directory to link to your machine's own web pages.
Let's next switch on the Wiki service. Setup the Wiki Creators so that at least you can create wikis. If you wish iOS devices to have access to your wikis, then check the WebDAV box. Turn on the ON switch, and a "View Wiki->" button should appear. Clicking on this button should take you to the "mymachine.private/wiki" default Wiki web site. Loggin in to this site then allows you to create a new wiki. If this did not work, then try visiting "http://192.168.1.25/wiki" in your Safari browser where obviously you substitute the local IP address of your computer for 192.168.1.25.
For the user's private web pages, you have to create the /Users/username/Sites directory where "username" is obvious your own short username, the Test directory is then a subdirectory of this one: /Users/username/Sites/Test . Say you create an "index.html" in this Test subdirectory: /Users/username/Sites/Test/index.html . Then if you point your Safari browser to "mymachine.private/~username/Test/index.html" it should read username's index.html web page. (Notice that you don't include the Sites directory name in this URL.) Of course, if you aren't running a local DNS, then you will have to use "http://192.168.1.25/~username/Test/index.html" where you substitute the proper IP address for 192.168.1.25. If you setup an "index.html" in your /Users/username/Sites directory to point to your /Users/username/Sites/Test/index.html file, then simply visiting "mymachine.private/~username" will load your /Users/username/Sites/Test/index.html web page.
Good luck and hope this helps,
Switon