I made a VAMP server on my Vista machine temporarily in order to allow some people to visit my site. PHP seems to work great, and Apache as well since I can access the site by entering my IP address. Here's the problem: Lastnight I switched the DNS IPs over at Godaddy to point to my IP. I used some DNS checker tools and the domain is resolving to my IP... However the DNS error checker tool does display an error message saying that there is 100% chance my domain resolution will fail or something like that due to an error. The DNS checker tells me right away the correct domain, nameserver, and IP address and like I said I can reach the site from either of my computers in the house using my IP address but if I try to use the domain name to get there it times out. Is there something I am supposed to do in Apache with the nameserver? The only real reference that I have int he conf file for Apache to know about my server is the following two lines: ServerName www.mydomain.org:80 ServerName 24.61.142.12:80 My hosting experience usually involves Cpanel or Plesk and I'm not using either so I wonder if I need to set up the A name or CNAME, all that stuff that I used to see in Plesk. I wouldn't imagine I have to set that stuff up though if Godaddy handles the DNS right? Do I have to tell Apache to be aware of NS1.mysomain.org requests or just the www.mydomain.org:80 as seen above? Thanks in advance! PM me for the domain if you'd like to help troubleshoot, although the IP address above is my real IP. Chris
I just ran a remote port scanner to verify that externally my port 80 is showing as open. There must be something I didn't do with Apache that's not allowing the site to come up unless I enter my own WAN IP or localhost... Thanks again
Maybe that's the problem.. Here's what I've always done, please help me learn something new I've been running websites for nearly 10 years now. For years I've been using Godaddy and edit the Nameserver information by going to Host Summary in Godaddy control panel and I create two entries NS1 and NS2. So for example NS1.DIGALP.COM and NS2.DIGALP.COM. For the IP address that I assign for each over in the Host Summary section at the Godaddy website, I use the same IP address which is provided by my host. This is where you are saying you need to have two IP addresses assigned? I've always done it using just 1 IP. I'm trying to run a temporary server from my house and I only have 1 IP address as far as I know I did the same thing with this new domain that I've done with other domains in that I created NS1 and NS2 each using my IP address and the domain nameservers are pointed to both the NS1 and NS2. I'm not sure if you're able to access the site using the IP address in my first post or not, but from home I can access my php site by using my IP. Are you saying that I also need to setup a DNS server on my own server and that the Godaddy DNS thing isn't sufficient on its own even though I tell it which nameservers and which ips for the nameservers? Perhaps that is the problem because I haven't done that. Thanks for any more info!
I installed BIND9 using these directions found here: http://alex.charrett.com/techstuff/bind9-win2k.html The installation was pretty straight forward, no errors, configured the zones and started the server but still nothing. All of my experience has been on Linux servers hosting remotely and with Plesk or Cpanel. Now I am trying to get a server going on Vista and I was able to install Apache, PHP, the php files are processed properly, mySQL works just great too!! The ONLY problem that I'm having is that I have to get to my site using an IP address. The domain name will time out. I tried using a dns checker site and it tells me that 100% of the time it will time out but that doesn't really help me very much. The domain is stoners dot org if anyone wants to try and help figure this out. As I said previously, in Godaddy I have the nameservers set to ns1.somedomain.org and also ns2 and of course also in Godaddy I have both pointing to 24.61.142.12. You mentioned having to also create a DNS server on my end even though Godaddy I thought has that information but I have a feeling you know what you're talking about. Originally I had run into problems accessing the site even by IP because I had to forward my actual IP address on the router to go to the correct computer connected to the router. That's all set and the site works perfect by IP address, but nothing by domain name. If this was a Linux server I wouldn't be having this problem most likely. So I used the BIND configuration instructions from the URL I pasted above. I can provide samples of the configuration files if anyone would be interested in taking a look. Here: db.somedomain.org.txt $TTL 6h @ IN SOA ns1.somedomain.org. hostmaster.somedomain.org. ( 2009101901 10800 3600 604800 86400 ) @ NS ns1.somedomain.org. ns1 IN A 24.61.142.12 Code (markup): named.conf options { directory "c:\named\zones"; allow-transfer { none; }; recursion no; }; zone "somedomain.org" IN { type master; file "db.somedomain.org.txt"; allow-transfer { none; }; }; #Use with the following in named.conf, adjusting the allow list as needed: key "rndc-key" { algorithm hmac-md5; secret "ImrcJ3et234lGwPdB3iCeLzdSnjUcfw=="; }; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }; }; Code (markup): Anyone see anything wrong or missing that may be causing this problem? Thanks so much!
Check this $TTL 6h @ IN SOA ns1.somedomain.org. hostmaster.somedomain.org. ( 2009101901 10800 3600 604800 86400 ) IN NS ns1.somedomain.org. somedomain.org. IN A 24.61.142.12 Code (markup):
Ok I should've updated this thread sooner but after updating the bind file to what you suggested still nothing, even after several days. I still wonder why I can access it via IP from other computers yet not by domain. When I do the domain resolve programs online it seems the domain resolves to my IP which like I said the IP works. If the Godaddy DNS settings for my domain points to my IP properly, and if my IP gets people to the site then why no the domain? They seemed to be linked, the domain produces the IP so why doesn't it just bring you to the site? I installed Bind and it appears to be running on my system along with Apache, etc. I don't think the problem is because of Vista. I disabled IIS correctly and installed Apache and PHP and mySQL correctly as they all work just fine except only if I type my IP or 'localhost' I use a wireless router and have forwarding setup to point to my particular computer on my home network, and that is setup properly since I can access the right computer/site by entering my IP but domain does not work. Any ideas?
I don't imagine it would do any good to modify the hosts file...?? I haven't read anything about that as far as setting up a Windows server but who knows... Would I be correct in saying that my DNS server isn't working properly? Godaddy is where I edit the domain information and tell it to go to my IP and I also name the nameserver information such as NS1.whatever.com, etc... Each name I create I tell it which IP to go to... When I do a DNS check thing for my domain it does resolve to my IP but still can't get to my site by domain, only IP works. Could this be because of Comcast? I don't imagine it is my ISP since I am able to access the site via IP address perfectly. Anyone with some knowledge? Thanks!