[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] View Virtual Site with IP?



> Scott Webb wrote:

> 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?

If you're doing separate IP#s, one for each site, you just go to the
site; i.e., "http://12.34.56.78/";.

If you're doing shared IP# hosting, then you need to do it at your own
domain, like this:

Set up an extra record in your own dns zone for example:

site1.yourdomain.com.	IN	A	12.34.56.78

Then set up an alias for the site in /etc/httpd/conf/httpd.conf for
"site1.yourdomian.com".

For this to be affective you need a short TTL on your zone file.

When the new registration comes through it'll work, and then at your
leisure you can remove the DNS and the alias for site1.yourdomain.com.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205