Leb i Sol Posted October 20, 2003 Posted October 20, 2003 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!
Garry Claridge Posted October 20, 2003 Posted October 20, 2003 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
Jeff Spall Posted October 21, 2003 Posted October 21, 2003 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
Leb i Sol Posted October 21, 2003 Author Posted October 21, 2003 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!
Garry Claridge Posted October 21, 2003 Posted October 21, 2003 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
Leb i Sol Posted October 21, 2003 Author Posted October 21, 2003 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! All the best!
Garry Claridge Posted October 21, 2003 Posted October 21, 2003 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 Garry
Jeff Spall Posted October 22, 2003 Posted October 22, 2003 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
Anatoli Posted October 22, 2003 Posted October 22, 2003 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.
Leb i Sol Posted October 22, 2003 Author Posted October 22, 2003 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 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 ;-)
Garry Claridge Posted October 22, 2003 Posted October 22, 2003 Check-out the thread on "Web Security Filter" also the thread on "CDML and Apache". They have exactly what you need All the best. Garry
Leb i Sol Posted October 24, 2003 Author Posted October 24, 2003 nice work Garry 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
Recommended Posts
This topic is 7693 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 accountSign in
Already have an account? Sign in here.
Sign In Now