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

RE: [cobalt-developers] Viewing a virtual site before domain is



Peter,

> Can anyone tell me whether it's possible to view a virtual site on a Cobalt
> RaQ4i before changes to DNS have propogated? DNS services are provided by
> our ISP, not on our Cobalt.
> 
> Basically, I want to be able to show work-in-progress to a customer but
> their domain is not fully registered yet. Can I do it with
> ip.address.of.cobalt/sites/site1/  etc? I've tried various combinations but
> no success.

The following works quite well (as per WebhostingTalk.com):

>>>

Insert this line in your httpd.conf (mainsite) 

AliasMatch ^/newsite/([^/]+)(/(.*))? /home/sites/$1/web/$3

Then restart apache - after that, you can access it with: 
www.originaldomain.com/newsite/www.newdomain.com 

>>>

I've done it for another domain on the server (i.e. not for the mainsite) - it 
works like a charm ;-)

Rgrds,

Johan Pretorius (afriq)

ps - The original thread at Webhostingtalk:
http://webhostingtalk.com/showthread.php?
s=d59ac565454bb0cbbba988e6d107db6b&threadid=11446


 
 http;//host24.com
 All the PHP/mySQL hosting you'll ever need