I have several questions about dns. I have apache server on my computer and static ip and i bought domain. So when i enter in my browser blablabla.com , it redirects me to my site. Its ok. But i want to setup my own dns server on the same computer where i have my site. I set up bind9. Here are some questions:
- Should i buy two domain's, so there will be my dns server and is it necessarily that ns will look like ns1.blablabla.com or its ok if it is blublublu.com ?
- When i buy domain for my dns server, should i add record (on the site where i bought it)
@ A "mi ip where my site is ?
- When i do this, i must enter ns(blublublu.com or ns1.blablabla.com) in site where i bought domain blablabla.com (my site) ? It will work because
dns use 53 port, and apache use 80 port ?
- Did i correctly write db.blablabla.com int /etc/bind ?
@ IN SOA blablabla.com. root.blablabla.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN A 192.168.100.13
@ IN NS blublublu.com. (ns.blablabla.com) ??
@ IN A 192.168.100.13 ??? or there must be my static ip addresse ??
@ IN AAAA ::1
ns IN A 192.168.100.13
I have a website on a shared hosting and I'm trying to move it to an unmanaged VPS
the thing that I have set up my server and tried this tutorial to make my domain name point at my server but I had no luck.
because when ever I try to do this :
I still get the old host ip instead of mu new one.
I have waited more than 48 hours.
Do I have to delete some files on my old host ? or there is something i'm missing ?
I've created a LAMP/Ubuntu server instance and installed ispconfig by follow guide here
After the installation, I've set the dns settings for the domain(domain.net) which I've entered as server host which is (sub.domain.net) and created the site for the domain. Then I've added two other sites too(otherdomain.com and domain.com).
Now domain.com content accessed from domain.net and all the A records I've added to these domains. In addition while browsing in domain.com it can be redirect to subdomains or domain.net. I've thought that PHP $_SERVER array has some wrong values too.
How can I solve that issue?
What follow are all the classical steps I've made for many years. And now they dont work on recent Debian distros. I've just installed a fresh Mint 17 (and it's not only here that the problem seems to be, it's on all recent versions of a lot of my students Debian-based distros).
I've done all classical step to add a virtual host:
/etc/hosts and add a new entry:
(2) ping it to make sure there's no typo:
# ping infosup.info
PING infosup.info (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.024 ms
(3) create a new vhost file:
Deny from all
(4) make a symbolic link to enable it:
# cd /etc/apache2/sites-enabled
# sudo ln -s ../sites-available/infosup.info 001.infosup.info
# ln -al
lrwxrwxrwx 000-default.conf -> ../sites-available/000-default.conf
lrwxrwxrwx 001.infosup.info -> ../sites-available/infosup.info
(5) restart the web server:
sudo service apache2 restart
* Restarting web server apache2 (blabla)
[ OK ]
(6) On the web page of the webbrowser (whatever program I use - Chrome or Firefox) I get:
Code d'erreur : DNS_PROBE_FINISHED_NXDOMAIN
What are the correct steps to add
ingesup.info to my local DNS (
bind9) server so that it point all the time to 127.0.0.1?