rejetto forum

Virtual Hosts on HFS

0 Members and 1 Guest are viewing this topic.

Offline timteka

  • Occasional poster
  • *
    • Posts: 18
    • View Profile
Hi,
how can i operate with virtual sites on HFS? i've recently changed my ns zone and wanted to have my site url in HFS, so that "Open in Browser" would open my site via name, not IP.
Also how can i add another one virt.site, pointing to my HFS-host? :-)
Thanx in advance


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
how can i operate with virtual sites on HFS? i've recently changed my ns zone and wanted to have my site url in HFS, so that "Open in Browser" would open my site via name, not IP.

"open in browser" works on your computer. By default it doesn't use your IP address.

I guess you are talking about the address showing near the "open in browser" button.
Then, to add an address you must go Menu -> ip address -> custom

Quote
Also how can i add another one virt.site, pointing to my HFS-host? :-)

i think what you need is just having multiple addresses.
that's not virtual sites, it's just DNS.
the menu i told you here above will let you enter more than one address. ;)


Offline timteka

  • Occasional poster
  • *
    • Posts: 18
    • View Profile
Thanx for your reply, Rejetto,
for virtual hosts i meant the idea used in apache and all the other adult webservers :-)
can i have different roots for my multiple domains under hfs?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
No, there's no such feature in HFS at the moment, sorry.
You can simulate it at some level by using macros, something like {.if|{.%host == myhost.com.}|redirect to a specific folder.}
But it's not as elegant as virtual hosts
« Last Edit: October 08, 2008, 12:47:03 PM by rejetto »