Results 1 to 8 of 8

Thread: Website directs to 127.0.0.1

  1. #1

    Website directs to 127.0.0.1

    Obviously I don't want that.
    I want it to direct to 111.90.150.93
    How do I do this?

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Website directs to 127.0.0.1

    Can you give a little more detail as to what you do that leads up to the undesired results?

  3. #3

    Re: Website directs to 127.0.0.1

    I had a server set up about 6 weeks ago.
    #Now I have transferred some more moresites onto it and need to set up the nameservers to point to it.

    At the moment they points to 127.0.0.1
    Last edited by howefield; July 29th, 2015 at 11:03 AM.

  4. #4
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    2,269
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Website directs to 127.0.0.1

    Please post the contents of /etc/hosts file.

  5. #5
    Join Date
    Aug 2011
    Beans
    10

    Lightbulb Re: Website directs to 127.0.0.1

    All you have to do is restart bind to clear its cache:

    # /etc/init.d/named restart

    You can also use rndc command as follows flush out all cache:

    # rndc restart

    OR

    # rndc exec

    BIND v9.3.0 and above will support flushing all of the records attached to a particular domain name with rndc flushname command. In this example flush all records releated to example.com domain:

    # rndc flushname example.com

    It is also possible to flush out BIND views. For example, lan and wan views can be flushed using the following command:

    # rndc flush lan

    # rndc flush wan

  6. #6

    Re: Website directs to 127.0.0.1

    Here is etc/hosts

    127.0.0.1 localhost
    4545.6.7.21 server42.abc.com server35

    Virtual Hosts

    234.54.6.46 thexxxxxxxxxx.info

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

    I was using external DNS and hadn't set up dns on my own server. Have done that now and am waiting for them to point the website. I may not have to deal with this until domain expires.

    I am a bit confused here. Do I I need to install bind on my own server?
    Last edited by howefield; July 29th, 2015 at 11:04 AM.

  7. #7
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Website directs to 127.0.0.1

    No, you can let the domain registrar maintain your records. What matters are the A records that map from www.example.com to an IP address.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  8. #8

    Re: Website directs to 127.0.0.1

    theexxxxxxxl.info does map to 111.90.150.92

    You can see it at http://111.90.150.92/theexxxxxxxxxl/

    The server maps it to localhosr 127..0.0.1
    Last edited by howefield; July 29th, 2015 at 11:04 AM.

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
  •