Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
The Law #1
Subdomain Experts
I want to set up users with subdomains (user.domain.tld).
My DNS can be modified by me using IP, CNAME or TXT. I have shared hosting so
if ColdFusion Admin needs to do something I have to ask a technician to do it.
When I set up "subdomain" using CNAME in my DNS, I get "virtual directory
unavailalbe" in browser. All I want the subdomain for is to personalise a WEb
site. Every page is identical only coldfusion looks at the subdomain (using
CGI), runs a query and pulls the users details for use on the page.
[url]www.mplus.co.nz/leilani[/url] and [url]www.mplus.co.nz/jackson[/url] are two examples of what i
want to do that don't use subdomains.
But, I want leilani.mplus.co.nz etc.
I'd really appreciate any help you can give.
The Law Guest
-
subdomain.domain.tld regexp?
Is there a module that can split a given host in a subdomain, domain, tld part? e.g. www.google.com => www google com www.google.co.uk... -
Subdomain Connections
I am reopening a problem raised last year on this forum. When I try to edit a page in a subdomain (my-subdomain.my-domain.com/my-page.htm), it... -
subdomain problem
Hello folks... I'm using Contribute 3.11 on the Mac, and I have a problem with subdomains. I'm the admin for a local school, and I have a connection... -
New subdomain does not display cfm pages
I created 2 new subdomain on our IIS 5 server running ColdFusion 5.0 These 2 new subdomains are parsing HTML pages fine, however, they are not... -
Regexp to find the subdomain (if any) from $HTTP_HOST
I need help creating a regular expression to find the subdomain in the $HTTP_HOST variable. The domain is always in this form: www.domain.com... -
James74 #2
Re: Subdomain Experts
The easiest way is to use cfdirectory to create a directory for that user.
Next, use cffile to create an index page for that user inside the directory.
You can have Coldfusion write out the page completely based on a query(nice
because the index page doesn't have to hit the database when users visit, or
you can write an include statement to the index page that points to your needed
queries. I'm sure there are other ways as well.
Usually by default, when someone types [url]www.mplus.co.nz/jackson[/url], the server
will try to find an index page inside the jackson folder.
James74 Guest
-
The Law #3
Re: Subdomain Experts
Thanks. I'm really after the subdomain.domain.co.nz.
What is the A record in my DNS? Is it IP or CNAME and how should it look?
subdomain.domain.co.nz CNAME [url]www.domain.co.nz?[/url]
Can you write an example for me?
Once I do that, do I need to do anything in Coldfusion to make it work? I
don't administer my own server so you might need to give me admin instructions
if necessary. Thanks a lot. This is really important.
The Law Guest



Reply With Quote

