Hi All,
I am hosting a domain (
www.mydomain.com) under Wub and it's running fine.
I'd like to virtual host a sub-domain (
sub.mydomain.com) under the same Wub instance.
I was thinking 'Nub' was the best way to achieve this but I can't seem to get it right.
My setup is as follows;
- In
local.tcl, i have a namespace
::MySite - In the global area of local.tcl, I created a Nub as below;
Nub domain /sub.mydomain.com/ /proc_submydomain - startup Wub
- browser:
http://sub.mydomain.comThe above will redirect me on the home page of
www.mydomain.com.
I am trying to execute
/proc_submydomain for all
sub.mydomain.com requests.
I'm certainly lost...please help.
Thanks in advance
ATK