I have OS X El Capitan and OS X server 5.0.4 installed. Both web and Xcode are enabled. Set web default location contains an index.html
When I open a browser and point to my domain like http://mydomain/ it directs to https://mydomain/xcode/.
How do I change this to make /mydomain/ point to /mydomain/index.html instead of /mydomain/xcode/? I already removed all Xcode stuff in /Library/Server/Web/Config/apache2/sites configuration file but it's not working.
Best Answer
This has to do with removing a configuration file, that is used by the server, for wiki and Xcode. All that's in the file is a bit saying YES service is active, you could probably just change that to NO, but deleting the file works for starters. And as long as you don't restart the Xcode service the file won't get recreated!
See this thread: Cannot change default webpage
and: