kickster
12-17-2001, 07:03 PM
How can I set up an account on Raq without a domain name. I have one IP address only.
The hosting companies give you
http://IPaddress/~username
so the user can access the account while the domain name is propagating.
how does this work on a raq?
driverdave
12-18-2001, 03:46 AM
Add this to the virtual host tag of your main site (home site) on the raq in /etc/httpd/conf/httpd.conf
AliasMatch ^/preview/([^/]+)(/(.*))? /home/sites/$1/web/$3
Then you can check out sites that aren't DNS'ed yet on your raq like this
www.raqname.com/preview/www.sitename.com/
or by IP
***.***.***.***/preview/www.sitename.com/
Deeper aliasmatching won't work though. This doesn't work
www.raqname.com/preview/www.sitename.com/~admin/
But it works well enough to let people preview sites.
kickster
12-18-2001, 10:31 AM
Thanks for reply, Do I have to do the editing in telnet? Do I have to use /preview/?
Can I just use http://xxxxxxxx/www.domain.com?
Chicken
12-21-2001, 09:32 AM
You would have to do it in telnet/SSH and no, you don't have to add preview.