joined:June 6, 2010
I use private nameservers on a domain of mine, but the site doesn't seem to display. The webserver where the site content is hosted is also my own, and I think that the reason for the site not working is either a DNS issue, or some httpd.conf rule miswritten.
Thinking it was a DNS problem I did a intodns search, which showed errors.
What I'm trying to do here is that if a domain is pointing to my server, which doesn't have a DocumentRoot of it's own, can show a parked page. something like this site is under construction etc.
To achieve this I added a default virtualhost in the apache httpd.conf which I think is working as expected. I checked it as follows:
Under: windows/system32/drivers/etc/ there's a file "hosts"
I editted this file to resolve any request for a specific domain (above mentioned domain in this case) to point to the IP of my server.
Now when I opened the domain in my browser, it resolved to my webserver, and the server delivered the expected page. This is why I think that apache did it's work.
However if I do not edit the "hosts" file in windows, my PC is not able to resolve the domain, and the request doesn't go to my server. I get a 404 page.
I have been working on this for 2 days, but can't get this working. I think I'm missing the DNS entry at the webserver. What is the entry I need to do to get the dynamic parking thing working? I'm using kloxo as control panel.
[edited by: lammert at 11:56 am (utc) on Jun 6, 2010]
[edit reason] Removed specifics and link DNS tools site [/edit]