I have several domains that have been consolidated into one website, rather than just redirecting the old domains to the new domain I would like the old domains to display the new domains index file, I tied this this with .htaccess DirectoryIndex but could not get it to work is this possible?
Bassicaly old1.com & old2.com were shut down to make new.com. When someone types in old1.com I want them to stay at old1.com in their address bar but see the index.html file new.com and then when they click any link they would obviously be taken to part of new.com.
Domain Parking is the term as someone has mentioned. Whether you go to yourolddomain.com or yournewdomain.com, it will direct to the same index file as well as all emails i.e. [email protected] or [email protected] is practically the same account, it all ties in together without much of a hassle.
You can host each domain on a virtually resourceless hosting package (.01 mb. space/1 mb. BW package or something like that) and use a Permanent Redirect to get the job done. Most hosting control panels can create the code for you, or you can write it yourself (it's a very simple, single line) - http://httpd.apache.org/docs/mod/mod...n#redirectperm
Thanks for the info, it's not a matter of not having enough space, I can host far more domains than I will ever own on the server I have now, currently I am using perminent redirect to get people typing in the old domain to the new domain. What I wanted was to have the old domain actually display the opening page of the new domain. All the links on my new page are http://www.domain.com/file.txt and not just /file.txt so they will all still point to the new domain and be valid and I would assume having multiple pages like this would help in search engine results although it may not but I wanted to give it a try for that reason and also just to try and do it.
When I used movabletype in the past I had it so my .htaccess file would display http://www.domain.com/ as a file located at http://www.domain.com/mt/pages.php. The .htaccess trick made it so the viewer was at domain.com/index.php and they could not notice the file was actually being pulled from /mt/pages.php. That is what I want to do again but I can not remember how I did it or find info on it anywhere at the mt support site.
hmmm, I still think domain parking is what you want. Essentially you could have:
bigones.com, likethis.com, someotherdomain.com, thisistoomanydomains.com all point to one site.
Its done on a DNS level so you don't edit any file or anything. It should be an option in your control panel. I know some hosts turn this off and you have to either ask them (nicely) because it messes with the dns conf files on a shared server, but it is rather simple to do.
I'm using DirectAdmin and was unable to find anything having to do with domain parking but it is possible I missed it. Anyway, the .htaccess code I was trying to remember but could not was just DirectoryIndex I guess but I do not think that will work accross multiple domains. Atleast I could not get it to so I might just be stuck using Redirect.