Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Virtual Domains on FMPro ?

Featured Replies

Is it even possible to assign (for LAN access only) a virtual domain name for the builtin web server on FM Pro 6?

eg. 192.168.0.55:69 ---> type.some_name.com

Thank you!

Yes, you use your DNS for this. The only thing a Virtual Domain does, in Apache/IIS etc, is redirect the request to a new "Document root" on the server.

Good Luck.

Garry

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

  • Author

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!

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

  • Author

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!

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

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

I am also using proper web server and FM.

Virtual domains are set in WebServer and FM is serving from own directory structure.

So www.abc.com is going to WebServer and if there is FM stuff the address from www.abc.com is going to web/abc FM directory.

Website xyz have www.xyz.com and the web/xyz FM directory.

  • Author

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 ;-)

  • Author

nice work Garry smile.gif

any time I turn arround I see PHP....perhaps it is time for me to learn it...noooo...wait....I wanted to be an MIS not a programmer wink.gif

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.