Originally Posted by
volkswagner
It appears you have some sort of wiki engine, at least php which is likely rewriting URLs.
Please offer your solution so the entire community can prosper.
The solution is a 2 part solution.
1) On my DNS server, add a record for the preferred domain name, in my case "ubuntu" and "eaglewiki"
2) The second part of this solution is to edit /var/www/sitefolder/LocalSettings.php to have
Code:
## The protocol and server name to use in fully qualified URLs
## $wgServer = "http://192.168.100.197";
$wgServer = "http://ubuntu";
$wgServer = "http://eaglewiki";
I suppose I could leave http://192.168.100.197 as a fall back incase my dns server fails, but if that happens I've got bigger issues than the wiki server.
It doesn't appear to matter on the order for the fully qualified URLs either.
That is all that was needed, for each separate site /var/www/newsitename, add a new dns record, change the appropriate settings in the above file, and like magic it's all set.
And correct this is a Wiki server, these are the version details.
Bookmarks