Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Intranet Server URL

  1. #11
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,868
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Intranet Server URL

    Quote Originally Posted by dustin8 View Post
    It worked, and then it stopped.

    Well at least I'm on the right track.

    Thanks
    Other things to consider:

    Clear browser cache.

    Verify if certain web pages or server software packages (drupal, wordpress, html links, etc.) are causing the break.
    Are all your links, relative links?

    Are all lan machines able to resolve ubuntu?
    [Windows]
    Code:
    nslookup ubuntu
    [Linux]
    Code:
    host ubuntu
    Code:
    dig ubuntu
    Can they ping Ubuntu server?
    Code:
    ping ubuntu
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  2. #12
    Join Date
    Jan 2008
    Location
    Bay Area, CA/Kanagawa, JP
    Beans
    248
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Intranet Server URL

    Just to clarify, the issue is that when going to http://ubuntu, it resolves but changes the URL to http://IP.ADD.RES.S, or no?

    do you have
    Code:
    ip.add.re.ss hostname hostname
    added to /etc/hosts? (i.e. not only 127.0.0.1, but also the interface ip)

  3. #13
    Join Date
    Jan 2008
    Location
    Bay Area, CA/Kanagawa, JP
    Beans
    248
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Intranet Server URL

    ....

  4. #14
    Join Date
    Feb 2014
    Beans
    12

    Re: Intranet Server URL

    Sorry for the late reply, just got the chance to look at this again. Here's the hosts file

    127.0.0.1 localhost
    127.0.1.1 ubuntu

    # The following lines are desirable for IPv6 capable host
    ::1 ip6-localhost ip6-loopback
    fe:00:0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

  5. #15
    Join Date
    Feb 2014
    Beans
    12

    Re: Intranet Server URL

    Quote Originally Posted by brokenhachi View Post
    Just to clarify, the issue is that when going to http://ubuntu, it resolves but changes the URL to http://IP.ADD.RES.S, or no?

    do you have
    Code:
    ip.add.re.ss hostname hostname
    added to /etc/hosts? (i.e. not only 127.0.0.1, but also the interface ip)

    Correct, the bold and unlined portion is what happens, but only when going to a subsite " http://ubuntu/eagle" does it rename the url to "http://192.168.100.197/eagle"

    I've tested from several windows machines for nslookup, and ping to ubuntu, and they all resolve properly.

  6. #16
    Join Date
    Feb 2014
    Beans
    12

    Re: Intranet Server URL

    The first image is when going to http://ubuntu
    http://postimg.org/image/jbfppt88v/


    and then this when I go to a subdomain

    http://postimg.org/image/99r84fr9n/


    Here's the Dig and nslookup for "Ubuntu"
    http://postimg.org/image/lyfy24i71/
    http://postimg.org/image/sy9tga8x9/

    Hosts files
    http://postimg.org/image/tze20yeu3/


    I've added:

    "192.168.100.197 ubuntu" to the hosts file and the issue remains the same
    Last edited by dustin8; February 14th, 2014 at 03:42 PM.

  7. #17
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,868
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Intranet Server URL

    This is not a problem with Apache. It has to do with the software running in directory /eagle.

    Im not sure what software you are running, but there should be a setting for site name or valid urls.

    I mentioned this in post 11.

    Cheers!
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  8. #18
    Join Date
    Feb 2014
    Beans
    12

    Re: Intranet Server URL

    The folders and files within /var/www do not run the web-server. It's basically a file dump for the content that is loaded onto the page.

    There isn't anything configured within these drives that I know of to change to resolve this issue.

  9. #19
    Join Date
    Feb 2014
    Beans
    12

    Re: Intranet Server URL

    I've got it fixed, after some digging

  10. #20
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,868
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Intranet Server URL

    Quote Originally Posted by dustin8 View Post
    The folders and files within /var/www do not run the web-server. It's basically a file dump for the content that is loaded onto the page.

    There isn't anything configured within these drives that I know of to change to resolve this issue.
    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.
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

Page 2 of 3 FirstFirst 123 LastLast

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
  •