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
    7,363
    Distro
    Lubuntu Development Release

    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.
    The websites are
    theeducationchannel.info
    theeducationdirectorey.org
    tutoragency.org
    At the moment theeducationdirectory points to 127.0.0.1

  4. #4
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    939
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Website directs to 127.0.0.1

    Please post the contents of /etc/hosts file.
    The Philippine Team
    The best Ubuntu derivative: Linux Mint
    Relax. Head to the Community Cafe.

  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 theeducationchannel.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 astarmathsandphysics; March 6th, 2014 at 12:07 PM.

  7. #7
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,835
    Distro
    Kubuntu 14.04 Trusty Tahr

    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, 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

    theeducationchannel.info does map to 111.90.150.92

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

    The server maps it to localhosr 127..0.0.1
    Last edited by astarmathsandphysics; March 7th, 2014 at 03:08 PM.

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
  •