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

RE: [cobalt-users] How to access to a virtual site ?



> I 've created a virtual site on the Raq (ie : www.mydomain.com) and
> before to transfert the domain name to this new Raq, I would like to
> transfer the site files by ftp and then to check the site by http.
>
> How can I access this virtual site by ftp and http without using the
> administrator access of the server while a domain name is not yet
> transfered (or not created) ?
>

Try the following - it works well (replace "newsite" with your own wording,
I think it can even be left out):

>>
You can 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


>>>

As per this Webhostingtalk.com thread:
http://webhostingtalk.com/showthread.php?s=e42c4580f6ee502cab31dd7fa72a52e6&;
threadid=11446



Rgrds,

Johan Pretorius

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