 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
cypherlock
Joined: 19 Jan 2007
Posts: 3
|
| Posted: Fri Jan 19, 2007 4:16 pm Post subject: Maybe DNS???? |
|
|
Hey all, I've been working on setting up a temp website for the company I work for. I've done it before, so I didn't think that it would be a problem. Well, guess what!
The virtual host file is as follows:
<VirtualHost 63.175.222.197 >
ServerAdmin webmaster@keyconn.net
DocumentRoot E:/inetpub_2/copypro
ServerName copypro.keyconn.net
ErrorLog logs/copypro.keyconn.net-error_log
CustomLog logs/copypro.keyconn.net-access_log combined
</VirtualHost>
now here's the funny thing....I can see the website by typing in the ip address into the address bar of any browser. The name, however, doesn't work. Is it just not resolving? Any help would be greatly appreciated! |
|
| Back to top |
|
lku homer
Joined: 29 May 2006
Posts: 104
|
| Posted: Fri Jan 19, 2007 4:46 pm Post subject: |
|
|
| Make sure that your host file, has the domain name in it as well as the localhost. |
|
| Back to top |
|
cypherlock
Joined: 19 Jan 2007
Posts: 3
|
| Posted: Fri Jan 19, 2007 4:55 pm Post subject: |
|
|
When I did that it worked perfectly, but just only on the computer the the host file was updated on. When I tried to view it from my home last night, it was the same deal....ip would let me see it, but copypro.keyconn.net wouldn't. I do have other virtual hosts in the httpd.conf file, setup the same way (with the right alterations to ip, servername, docroot, etc) and they work just fine (I didn't even have to add them to the host file). Am I missing something else?
I appreciate the help! |
|
| Back to top |
|
lku homer
Joined: 29 May 2006
Posts: 104
|
| Posted: Fri Jan 19, 2007 6:24 pm Post subject: |
|
|
It seems that you are trying to set up a subdomain off the main keyconn.net domain. In order to have subdomains, I believe you have to go to the domain register and set up the subdomain there.
Your VirtualHost is set up correctly, but without the subdomain pointing to the right place it means nothing when trying to use the names. |
|
| Back to top |
|
cypherlock
Joined: 19 Jan 2007
Posts: 3
|
| Posted: Sat Jan 20, 2007 1:22 am Post subject: Solved |
|
|
SOLVED
I got it! Thanks for your help, I really appreciate it.
What happened was I added it to my db.zoneinfo file, however, I forgot to increment the serial. DOH!!!!!
The stupid mistakes are always the hardest to see!
Thanks again! |
|
| Back to top |
|
| |
|