Page 1 of 1

DNS and Virtual Folders

PostPosted: 11. September 2007 04:27
by belick
I want to use my domain and have it for all my testing. my domain is domain.com and I wanted to assign a A recored to point it to my static ip so I did: dev.domainname.com -> XX.XX.XX.XX

then I added another record for: *.dev.domainname.com so I can use

site1.dev.domainame.com, site2.dev.domainame.com etc...

My questions are:

1. it that correct?
2. how do I have it in the apache conf file?

Thanks

PostPosted: 11. September 2007 09:16
by Wiedmann
2. how do I have it in the apache conf file?

http://httpd.apache.org/docs/2.2/vhosts/name-based.html

PostPosted: 12. September 2007 01:31
by belick
I have try that, and its working on my local machine and not with the domain name

PostPosted: 12. September 2007 02:03
by belick
also I am getting:

Could not resolve host name on the log file

PostPosted: 12. September 2007 09:33
by Wiedmann
Well, to help we need more infos:
- your current vhost configuration
- the complete line(s) from the error.log.