![]() |
Cannot get to website using domain name
I cannot see to get to my site by domain name. I can get to it by IP address fine. I am guessing that the problem is with the Bind configuration file... or maybe Apache?
This works: Code:
$ dig @dnsserver linuxquestions.orgWhen I type in the browser the IP this works: Code:
http://192.168.69.221/a_test_websiteCode:
http://mytestwebsite.comCode:
; BIND data file for mytestsite. |
Oh, btw, I am using Debian 6 and Apache2 Bind9.
|
I had the same issue.. make sure your router is port forwarding 80 and 53. Here is how my zone file looks, and it works perfectly.
Code:
$TTL 3600 |
working!
Forwarding the port worked. However I am getting the domain name of the router appended to the nslookup query.
domain name = adomain.tt.net router's domain name = extradomain.com Look at the output under Non-authoritative answer. Code:
C:\Documents and Settings\johnny>nslookup xyz.us.to |
3600
nibraz:
Why did you write 3600 in the second column? I have never seen that before. Code:
mail 3600 A 81.xxx.xxx.xxx |
Hi,
Are you using Cpanel or PLESK? ;Browsing www.mytestsite.com. would take the viewer to the site. www IN A 192.168.69.221 The answer is actually pretty simple. If you change, in your dns.conf file the POINTER from www IN A 192.168.69.221 to mytestsite.com IN A 192.168.69.221 It should work |
Hello, Please check with this.
Hi ,
First of all , You can check your website is working from local environment. you can check through /etc/hosts entry.... /etc/hosts IP domainname 192.168.*.* example.org |
| All times are GMT -5. The time now is 02:05 PM. |