I am using Drupal 6.10
I am trying to setup a drupal multisite installation for sites examplex.com and exampley.com
However they always (obviously) resolve to internet. How can i correct this? An entry in the host file? if so, what exactly? I have tried the following entries:

127.0.0.1 localhost examplex.com exampley.com

AND

127.0.0.1/example examplex.com exampley.com
(in both cases, "example" is the directory where drupal tarball has been untarred)

vhost has already been created in the httpd.conf.

Comments

zbricoleur’s picture

Here's something I just found in the Wikipedia entry on "hosts file." Seems like it might do the trick:

A useful and time-saving tip for website programmers, intranet developers, and IT managers is to enable non-standard TLDs on a LAN for various purposes, such as .local to access the company's intranet or .new to test websites.

192.168.1.100       example.local
127.0.0.1           example.new