Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Getting Started > Hosting > multiple domain names
Total Posts: 16 - Pages (2): [1] 2
user picture Author: Jim Sloey
Posted: May 09 2007 - 01:11 PM
Subject: multiple domain names
We have been working on a new WEC site at http://qa.wsbc.net
This is a virtual subdomain (directory within) http://wsbc.net
The name and URL for the church has been changed during development.
We need our new WEC site to come up on:
journeyontheweb.com
journeyontheweb.net
journeyontheweb.org
journeyontheweb.us
journeyontheweb.ws
Is there an easy way to do this?
All of the above currently point to wsbc.net
Author: Jeff Segars
Posted: May 09 2007 - 06:11 PM
Subject: re: multiple domain names
Jim,
TYPO3 has a concept of domain records that should do what you're looking for. When you place a domain record on a page, it tells TYPO3 that that page is the entry point for a certain domain, which allows you to have different domains spread throughout the pagetree. In your case, however, you'll want all the domain records to live on your home page since each domain is tied to the same page.

To create the domain records, you'll need to be in Web->List view. You'll want to create one record for each domain above. You'll set the redirect URL to whatever your WEC Constant for Site URL will be after launch (probably http://journeyontheweb.com) and click the checkbox to transfer parameters to redirect URL.

In addition to setting up domain records for each of the domains you listed above, you may want to do it as well for www and non-www versions (ie. www.journeyontheweb.com vs. journeyontheweb.com). The idea here is to redirect everything to one URL for the site rather than having several different URLs in use that display the same data.

Hope that helps!

Thanks,
Jeff
Author: Andi Becker
Posted: May 09 2007 - 09:04 PM
Subject: re: multiple domain names
Hi Jim and Jeff

Jeff is right, there is a very simple way to achieve what you need. Please be aware, that if you are using the redirect function in TYPO3 it is a 302 redirect. This means if you are depending on Google Ranks you better should not use it as Google really don't like it. They declare your sites then as doubled content sites and perhaps throw you out completely!

Unfortunately there isn't another better build in way in TYPO3 for 301 redirects! The only way to achieve 301 (permanently moved) redirects is to edit your htaccess file in the main directory.

Another way is the 200 (new site) option in the TYPO3 domain record. This will happen if you don't set the redirect hook in the domain record box. Then all your sites will be seperate sites (physically) but showing all the same content, or if you direct them to different subpages they are showing different content. >> Also the multidomain example from the TYPO3.org site is working like this.

But in case of the www. and without www. it causes bad statistics, as your site would be doubled and your www. and without www. are sharing pageviews and -clicks.

All this stuff is only interesting for you if you want to get also a good google, alexis ranking. If you don't care about this then I really recommend to use the build in TYPO3 domainrecord.

If you need more info, please feel free to get back to us.

Andi
user picture Author: Jim Sloey
Posted: May 10 2007 - 10:01 AM
Subject: re: multiple domain names
Thanks for the information. I implemented both suggestions.
The result is that I end up at http://wsbc.net/qa or http://qa.wsbc.net
Unfortunately wsbc.net is going away eventually. The name journeyontheweb.org should be reflected in the URL address bar. Is there any way to accomplish this?
Author: Jeff Segars
Posted: May 10 2007 - 11:02 AM
Subject: re: multiple domain names
Jim,
I think we probably need some details to know what might have gone wrong. Can you give us examples from one of the domains of what you created in TYPO3 and/or .htaccess files?

Thanks,
Jeff
user picture Author: Jim Sloey
Posted: May 10 2007 - 11:49 AM
Subject: re: multiple domain names
http://qa.wsbc.net is actually a virtual at http://wsbc.net/qa/
Screen shots of what I did are at
http://wsbc.net/jsloey/Image2.gif
http://wsbc.net/jsloey/Image3.gif
http://wsbc.net/jsloey/Image4.gif
I haven't figured out how to get this off of the virtual and back to the base URL or how to change the name at the top from "WestSide Baptist Church" to "Journey Christian Church".
Author: Jeff Segars
Posted: May 11 2007 - 02:12 PM
Subject: re: multiple domain names
Jim,
I think the issues you're having are on the hosting side of things rather than with TYPO3. It looks like all of your domain record setup is correct and the issue is more on the side of how the domain names and subdomains are set up outside TYPO3. Who is your hosting provider?

Thanks,
Jeff
user picture Author: Jim Sloey
Posted: May 14 2007 - 08:44 AM
Subject: re: multiple domain names
I think you're right but I think I did it to myself. I'm hosted at SurPass http://www.surpasshosting.com.
When I installed Typo3 I didn't want to mess up the existing site so I created a virtual subdomain using cPanelX.
The host's httpd.conf or htaccess redirects qa.wsbc.net to wsbc.net/qa.
I can get to the site using http://wsbc.net/qa but it throws a JavaScript error in ADxMenu.htc
I think in order for this to work I need to reinstall Typo3 in the directory root of journeyontheweb.org. I think this will effectively destroy the current wsbc.net and probably the Typo3 install in the qa directory.
If there is another way to correct this mistake I'm open to any suggestions.
Thanks
JS
Author: Jeff Segars
Posted: May 14 2007 - 06:30 PM
Subject: re: multiple domain names
Jim,
I think you're right that you'll need to get everything running in the root directory. You should be able to make this move pretty easily but I'd hold off until you're ready to launch the site if thats possible. The stuff with the domain records should go smoothly since it looks like your setup is correct and we can be ready to help out if there are any problems with it.

CPanel or FTP will allow you to move all of TYPO3's files or folders into your main directory. The one file you'll want to watch out for is .htaccess. This file causes all URLs to be passed through TYPO3 so you don't want to move it until you're ready to turn the TYPO3 site on. When the .htaccess file is not present, your current site should work just fine since its static HTML. Once you move the .htaccess file into place, however, wsbc.net will show a TYPO3 page instead. Once you move everything, you can log into the backend, update your WEC Constant for site URL and clear both caches. This should clear out any old URL data and get you ready to launch with the new URLs.

Hope that gives you some pointers. You won't need to reinstall anything or have your current site trashed, but I would suggest making sure you're ready to launch before doing the move.

Thanks,
Jeff
Author: Andi Becker
Posted: Jun 07 2007 - 09:16 AM
Subject: re: multiple domain names
Hi UPDATE to Multidomains

EVERYTHING IS WORKING Yes! What do you need to do and what I have done to achieve a result which is brilliant.

1. You take a WEC_Package
3. You check if y Hoster is providing PHP5 If yes continue reading otherwise I am sorry!
2. You throw all realURL stuff from board - deinstall
If you had the site already running then PLEASE SAFE (RENAME) the cached domains from
realURL you will need them later on.
3. Install two extensions from TER
cooluri and jb_stuts_code
Cooluri is much better the RealURL as you only need to install 1 Extension instead of
5-10 for RealURL. jb_stuts_code will enable you to get 301 redirects and even more from
the domain records.
3. You should read the tutorial with examples Tutorial - cooluri:
http://docs.google.com/View?docid=dd33gg45_3f8j96p
4. You can also read the manual from TER and especially read the Thesis from Jan!!!
Then you know why it is much easier and even more flexible to handle the RealURL
5. As a next step you install coolURI and jb_stuts_code
6. --- follow exactly the tutorial.

What will you get afterwards. You will receive a working MULTIDOMAIN website. Rootrecords can even be inside Rootrecords. I.e. if you want to have a starting page for your whole church and the menu will show ALL subpages. People can link directly i.e. to a subdomain or another domain. If this new domainrecord is INSIDE the tree all pages of this "subtree with rootrecord" will appear with ther exact domains inside the toplevel menu.

NO MORE DOUBLED CONTENT

Jan the developer and I the Tester have tested the Extension in many many even strange settings and it is working brilliant as you can see here.

http://www.t3pack.org - is using the WEC-Templates - until now - which I made usable with multiple languages and added also some other improvements which are often needed. New Templates - especially single column once with lots of FCEs will follow. As you can see it is a multilingual page. Go to support and try the "Multilingual". I also changed the whole databse to utf8 - unfortunately it took a long time - recommendation for WEC - PLEASE SUPPORT UTF8 and INNODB in your extensions. If you need chinese it is always big problem to change everything.

If you go to MULTIDOMAIN
http://multidomain.t3pack.org
http://subdomain.t3pack.org (no root record set here!)
http://rootdomain.t3pack.org

I really recommend everybody to switch to COOLURI as you will be glad to have so less problems with it. For years I was posting so much because of RealUrl-problems and even when I looked today to netfielders list about 10 entries. WHY - No Entry about CoolUri and the thing is WORKING.

Hi WEC have a look to it and if you are interested then contact me, so I can help you brothers. The goal is to build churches worldwide and in comparison to people living in Asia which needs UTF8 support we have non in America. Here are People so interested to receive christ and learn more about him and they are SOOO much - Every Week 2 -4 more people are coming here. Lets tune up WEC!

Let your light shine upon you! God bless you
Andi

ADDITION - The mentioned sites above are running on a shared hoster from a subdirectory!!!
Total Posts: 16 - Pages (2): [1] 2
You must login to post a message to this conference.