View Single Post
Old 7th May 2008, 17:51
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Originally Posted by mike_phi
The question, what should I use for a url to resilve my newly created site which is not a registered domain name.

how I got it working is by entering my internal IP address and my newly created doamin in the /etc/hosts file

and the academics behind why ths works is due to the virtual host i.e. apache matces the incomming ip then mathes that against the servername and it works fine.

but this ant be seen as a solution as one would have to manually edit the /etc/hosts file for every site.

I think the root of the problem is to ensure that the http_hots header has the host name whic is only posible from a DNS which implies a registered domain.
If you don't want to register a domain, you can either modify the hosts file on your client PC for every domain, or you set up an internal DNS server that your client PC uses to look up domains.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote