Jump to content

Virtual Domains on FMPro ?


This topic is 7573 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi, an internal DNS server would handle the primary domain name for you, but I dunno how you would handle multiple virtual domains with *only* FMP. Once a domain call reaches a webserver, it's the webserver software that has to sort out where it goes and there's no facility in the FileMaker http server for that.

For multiple domains, you need to:

- add webserver software to your FileMaker server which understands virtual domains and let that handle all the domain routing

or

- use a directory structure with 'index.html' start pages, like www.mydomain.com/bulletins, www.mydomain.com/contacts etc.

regards, jeff

Link to comment
Share on other sites

Thanx guys!

This is what I thought....it sounded too good for FM to be able to handle virtual(s). I guess it is time for me to start that internal DNS server that is been sitting. I was just wondering about all this...it would be nice if the FM could handle custom headers - as it does "talk" on netscan and reveals FM specs...

Anyhow, thank you Garry & Jeff for the pointers!

All the best!

Link to comment
Share on other sites

The DNS handles the "subdomains". For example:

clarsys.com.au and fm.clarsys.com.au

Virtual Domains are generally for multihomed servers. That is, more than one domain name is pointed at a server. For example, I have these domain names pointed to my server:

www.clarsys.com.au

www.malenyarts.com

www.ballisticarts.org

Hope this is of interest.

Garry

Link to comment
Share on other sites

right, thanx Garry....this is all internal stuff so I was just lookin up on possiblity to host many files (folder concept) with many "sites" much like .httpaccess can handle virtual folders and use DNS pointes....anyhow,

eg.

internal DNS server --points to--> IP 192.168.2.50

kitchen.house.com -- > same IP. root : C:folderA

livingroom.house.com -->same IP root : C:folderB

but this would mean that FM could handle HTTP Rewrites etc......but then again it would be called "web server for workgroups" not the DB...LOL

thanx for showing interest and responding! laugh.gif

All the best!

Link to comment
Share on other sites

Yes, general web-servers, such as Apache and IIS, can do that. However, specific purpose web-servers, such as WebCompanion, other DB servers, routers, etc, cannot do that.

It would be easy to run Apache, or IIS, on your server to handle redirected static resource requests. This is where you could use the Virtual Domain capability as a pseudo DNS.

All the best. Anything is possible wink.gif

Garry

Link to comment
Share on other sites

Hi,

If these "domains" aren't going to change a lot you could simply handle them with host files on the client computers if you don't want to set up your own DNS server. You might even be able to define a directory path in a hosts file - I've never tried!

Webserver software running on your web FMPro server is a good idea as it can do all the stuff the very basic FMPro HTTP server doesn't do like ftp, file upload, virtual domains, SSI etc. and can take the load off FileMaker by serving all the static pages.

jeff

Link to comment
Share on other sites

Thank you guys!

Sounds like we "all are listening to the same piece of music"

...thanx again!

p.s.

old_notes:

so if one can tweaks http server to do html rewrites -masks the URL and with an internal proxy+firewal the the actual FM server....FM process the FMPro/URLs and sends them back to the HTML server...hm ...hmm.... :0 smile.gif

all there is left is to make CDML tags be "readable by HTTP srver"....hmmmm perhaps a mod_CDML is in place for Apache lovers ;-)

Link to comment
Share on other sites

This topic is 7573 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.