|
| |
|
|
tiariah
Posts: 4 From: Alexandria, VA, USA Status: offline
|
hosting more than one site - 3/23/2001 16:34:00
I just found out from Onvia (our web host) that I have to set up my site with multiple domain names. I have qeidata.com hosted and just registered mtdi.com. I tried to publish mtdi.com just like I did qeidata.com, but it wouldn't publish. I contacted Onvia and they said I have to put this code:<CFIF #Right(CGI.SERVER_NAME, 11)# IS "johndoe.com"> <CFLOCATION URL="/johndoe"> <CFELSEIF #Right(CGI.SERVER_NAME, 13)# IS "janesmith.com"> <CFLOCATION URL="/janesmith"> <CFELSEIF #Right(CGI.SERVER_NAME, 16)# IS "michaeljones.com"> <CFLOCATION URL="/michaeljones"> </CFIF> Into a file I create called index.cfm. I am at a loss. I don't know where to create the file. Can anyone help? Maria
|
|
|
|
Shirley
Posts: 3127 Joined: 1/8/1999 From: Omaha, Ne USA Status: offline
|
RE: hosting more than one site - 3/27/2001 23:48:00
I have no idea. I am just bumping this up to see if someone else knows something about this. Actually I think I will move this to int/adv------------------ Shirley GET OVER IT Money Tree Systems
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: hosting more than one site - 3/28/2001 20:26:00
Maria, The Cold fusion code is a completely different thing - you need to talk to the server admin (Onvia). Its been a while since I've used CF, but it appears pretty straight forward: Create a index.cfm file with the code they firnished -> FTP to the root of your site -> publish your webs to the directories indicsted. Publish the qeidata web to http://www.qeidata.com/qeidata & Publish the mtdi.com to http://www.qeidata.com/mtdi Of course change the "johndoe.com" & janesmith.com" to qeidata.com & mtdi.com ------------------ Gil Harvey The Host Factory Resellers are our speciality "Never miss a good chance to shut up"
|
|
|
|
tiariah
Posts: 4 From: Alexandria, VA, USA Status: offline
|
RE: hosting more than one site - 3/30/2001 15:22:00
You were right, it was pretty straightforward. I had never used a .cfm file and was confused.Thanks for the help. This is a great forum Maria
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: hosting more than one site - 3/30/2001 19:54:00
Glad we could help. Come back anytime...------------------ Gil Harvey The Host Factory Resellers are our speciality "How Can I Miss You If You Won't Go Away? "
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|