Results 1 to 8 of 8

Thread: Website directs to

  1. #1

    Website directs to

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

  2. #2
    Join Date
    Sep 2006
    Lubuntu Development Release

    Re: Website directs to

    Can you give a little more detail as to what you do that leads up to the undesired results?
    The Truth Shall Make Ye Fret.

  3. #3

    Re: Website directs to

    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
    At the moment theeducationdirectory points to

  4. #4
    Join Date
    Aug 2009
    Makati City, Philippines
    Xubuntu 14.04 Trusty Tahr

    Re: Website directs to

    Please post the contents of /etc/hosts file.
    You know what solved my problems? GOOGLE Searches!
    The best Ubuntu derivative: Linux Mint
    Relax. Head to the Community Cafe
    The Philippine Team

  5. #5
    Join Date
    Aug 2011

    Lightbulb Re: Website directs to

    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


    # 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 domain:

    # rndc flushname

    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

    Here is etc/hosts localhost
    4545.6.7.21 server35

    Virtual Hosts

    # 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
    Metro Boston
    Kubuntu 14.04 Trusty Tahr

    Re: Website directs to

    No, you can let the domain registrar maintain your records. What matters are the A records that map from 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 does map to

    You can see it at

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


Posting Permissions

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