rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: KooolaNL on March 26, 2010, 10:30:10 PM

Title: Multiple Websites with HFS like Vhost in apache
Post by: KooolaNL on March 26, 2010, 10:30:10 PM
i was wondering is it possible 2 host multiple websites in HFS like in apache Vhost

so kooola.nl   loads the index.html in d:/hfs/kooola
n  ziggo-haters.nl loads the index.html in d:/hfs/ziggo-haters
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: rejetto on March 27, 2010, 12:16:54 AM
no, sorry.
or not easily.
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: KooolaNL on March 27, 2010, 11:16:10 AM
:(
:(
::)
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: KooolaNL on March 27, 2010, 11:23:27 AM
what iff i pay u ?
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: rejetto on March 27, 2010, 03:03:11 PM
can do.
write me at support@rejetto.com
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: j7n on May 29, 2015, 01:01:59 AM
Please consider adding support for VHOSTS maybe as multiple root / directories where one of them is a default. I could be wrong, but looks like the existing framework of the "Virtual" File System could be utilized to implement it.

Virtual Hosts is a rather basic function of a webserver, more important than uploading or interactive file listings with icons.
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: bmartino1 on June 05, 2015, 04:00:19 AM
in all technical, you can already do this.. the only issue is that it require running another HFS execution...

You will have to go in to the HFS menu and make sure that the "only 1 instance" is not checked...

I've found that if you start in C:\HFS PAth\ and add HFS1 Make a HFS and Save the VItural Files system, then copy that folder and a new folder in the same path lets say HFS2
, then load the file system and make changes... you now have 2 HFS exe to run a vitural file system... ITs not a praticale as opening a confi like in apache, but is accomplishable!...

Example:
c:\webroot\hfs1\hfs.exe -running site name.com:80
and
C:\webroot\hfs2\hfs.exe -runnin site name.com:8080

both HFS exe will be runnin at the same time... different save to xxx.VFS
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: j7n on June 05, 2015, 04:36:53 PM
This starts 2 servers on different port numbers. They are more reliable: if one instance crashes, the other continues running.

But. Problem is that if a visitor doesn't want to type the port number or forgets it, he gets onto an unrelated web page.
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: bmartino1 on June 24, 2015, 08:43:51 PM
You are correct J7n, unless there is a template way to restart if  another instance is not running... etc..etc..

the solution these peps came up with was:
http://community.spiceworks.com/topic/276806-creating-a-dns-record-with-a-port-number

having a specific server site that would be a redirect with aherf links(this one would be the site you would never want to go down...

can't seem to find it, but it is available for html template to go to link and it it replies 404, then it will go to a different link...
( I know its possible, seen it / used it once... )

see here for more info...:
http://www.wordstream.com/blog/ws/2010/06/02/how-to-find-and-fix-broken-links
http://www.yourhtmlsource.com/myfirstsite/basiclinks.html

------------
here it is:
http://www.rapidtables.com/web/tools/redirect-generator.htm
Title: Re: Multiple Websites with HFS like Vhost in apache
Post by: rejetto on June 28, 2015, 11:03:58 PM
Virtual Hosts is a rather basic function of a webserver, more important than uploading or interactive file listings with icons.

HFS is mainly a file server, more than a webserver