I'm sorry if I'm posting again about something already reported/covered, but I didn't find the specific answer I was looking for.
Everybody and everyone who had a similar problem were only talking about database hostname and/or some PHP functions not being called correctly, but that's not my case.
I have a free web hosting account and a very simple (HTML, no serverside scripting at all) test page on the following subdomain: webmidget.vndv.com. When I access my site using that URL, I can see the page with no problems.
But now... I want to use my own domain name: www.WebMidget.com.ar.
I intend to use the an address like www.webmidget.com.ar to access my website, but I didn't find much information about how to set up my own domain name I have already registered long ago.
I have my domain name delegated to EveryDNS.net, and I'm using their webhops service, and subdomains with Google Apps for Your Domain (GAFYD) for handling e-mail, etc..
Since Zymic do not provide free mail SMTP/POP/IMAP service, (I know this is very expensive), nor dynamic DNS, I do not want to move my domain form EveryDNS.
I added two NS records to my zone, pointing to ns1.vndv.com and ns2.vndv.com a few days ago.
Now, digging into ns1.everydns.net, I've got the following:
CODE
; <<>> DiG 9.3.4 <<>> ANY www.webmidget.com.ar @ns1.everydns.net
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16265
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;www.webmidget.com.ar. IN ANY
;; AUTHORITY SECTION:
www.webmidget.com.ar. 3600 IN NS ns1.vndv.com.
www.webmidget.com.ar. 3600 IN NS ns2.vndv.com.
;; Query time: 27 msec
;; SERVER: 208.76.62.100#53(208.76.62.100)
;; WHEN: Tue Aug 11 05:05:28 2009
;; MSG SIZE rcvd: 82
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16265
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;www.webmidget.com.ar. IN ANY
;; AUTHORITY SECTION:
www.webmidget.com.ar. 3600 IN NS ns1.vndv.com.
www.webmidget.com.ar. 3600 IN NS ns2.vndv.com.
;; Query time: 27 msec
;; SERVER: 208.76.62.100#53(208.76.62.100)
;; WHEN: Tue Aug 11 05:05:28 2009
;; MSG SIZE rcvd: 82
The important thing is that ns1.vndv.com and ns2.vndv.com are now authoritative servers for my www subdomain.
And as expected, after a short time, they both are resolving www.webmidget.com.ar:
CODE
; <<>> DiG 9.3.4 <<>> ANY www.webmidget.com.ar @ns1.vndv.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64251
;; flags: qr aa rd; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;www.webmidget.com.ar. IN ANY
;; ANSWER SECTION:
www.webmidget.com.ar. 120 IN MX 25 mail.www.webmidget.com.ar.
www.webmidget.com.ar. 120 IN A 207.210.86.252
www.webmidget.com.ar. 86400 IN SOA ns1.vndv.com. ns2.vndv.com. 1 10800 3600 604800 3600
www.webmidget.com.ar. 86400 IN NS ns1.vndv.com.
www.webmidget.com.ar. 86400 IN NS ns2.vndv.com.
;; ADDITIONAL SECTION:
mail.www.webmidget.com.ar. 120 IN A 207.210.86.251
;; Query time: 120 msec
;; SERVER: 207.210.86.251#53(207.210.86.251)
;; WHEN: Tue Aug 11 05:09:19 2009
;; MSG SIZE rcvd: 195
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64251
;; flags: qr aa rd; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;www.webmidget.com.ar. IN ANY
;; ANSWER SECTION:
www.webmidget.com.ar. 120 IN MX 25 mail.www.webmidget.com.ar.
www.webmidget.com.ar. 120 IN A 207.210.86.252
www.webmidget.com.ar. 86400 IN SOA ns1.vndv.com. ns2.vndv.com. 1 10800 3600 604800 3600
www.webmidget.com.ar. 86400 IN NS ns1.vndv.com.
www.webmidget.com.ar. 86400 IN NS ns2.vndv.com.
;; ADDITIONAL SECTION:
mail.www.webmidget.com.ar. 120 IN A 207.210.86.251
;; Query time: 120 msec
;; SERVER: 207.210.86.251#53(207.210.86.251)
;; WHEN: Tue Aug 11 05:09:19 2009
;; MSG SIZE rcvd: 195
As seen on the DiG output, the www.webmidget.com.ar hostname is being resolved as 207.210.86.252.
Now, when I put http://www.webmidget.com.ar/ on a web browser, I get the following:
QUOTE
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: DNS lookup failure for: webmidget.com.ar
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: DNS lookup failure for: webmidget.com.ar
Why does it try to lookup webmidget.com.ar instead of www.webmidget.com.ar?
Seems like at some point something cut off the www part of my domain!
Or maybe there's something else...
Anyway, I'm trying to add an A record of webmidget.com.ar pointing to 207.210.86.252.