Obviously I don't want that.
I want it to direct to 111.90.150.93
How do I do this?
Obviously I don't want that.
I want it to direct to 111.90.150.93
How do I do this?
Can you give a little more detail as to what you do that leads up to the undesired results?
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.
Please post the contents of /etc/hosts file.
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
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.
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
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