Page 3 of 3 FirstFirst 123
Results 21 to 21 of 21

Thread: Intranet Server URL

  1. #21
    Join Date
    Feb 2014
    Beans
    12

    Re: Intranet Server URL

    Quote Originally Posted by volkswagner View Post
    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.

    Last edited by dustin8; February 17th, 2014 at 03:25 PM. Reason: Adding a bit more detail.

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •