[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] View Virtual Site with IP?
- Subject: Re: [cobalt-users] View Virtual Site with IP?
- From: Kris Dahl <krislists@xxxxxxxxxxxxx>
- Date: Thu Jun 29 13:33:46 2000
on 6/29/00 12:49 PM, Theodore Jones at theoj@xxxxxxxxxxxxx wrote:
> Scott,
>
> there seems to be no easy way to do this at all actually... i was
> dissapointed with the answer cobalt gave me on it. I wanted to be able
> to do that for the very same reason also, so it >is< a feature I'd like
> to see added if possible...
>
> Scott Webb wrote:
>
>> This is my first post...Hopefully not too newbie of a question. I am
>> setting up some virtual sites on my new RAQ3 server. I would like to
>> know how I can view my virtual site by using the IP address prior to
>> changing nameserver information on the domain record. i.e. can I view
>> the
>> site at http://000.000.000.000/site1?
>>
>> This is important since I will be transfering customer domains to my
>> server
>> and need to verify that the site is working properly prior to
>> switching the
>> name servers on the domain record.
Sure, you just have to bust out a little mod_rewrite action. Check out
apache.org for additional information.
Also, you could set up test.whatever.com as the virtual host as well, and
then switch it over to www. when you are ready to go live.
Finally you can do what I do and edit my /etc/hosts (If you are using
Windows, I'll let you figure out where the file is on your own) so that it
reads
www.mysite.com 1.1.1.1
The hosts file is a local hostname lookup file that superceeds DNS.
Cheers,
-k