Forum Moderators: phranque

Message Too Old, No Replies

access Domain1.com from domain2.com

No redirection access domain from other domain using htaccess

         

pkumar125

1:26 pm on Apr 1, 2009 (gmt 0)

10+ Year Member



I have two domain e.g. www.domain1.com and www.domain2.com Now I want to keep all script on www.domain1.com and can access all the link and script from www.domain1.com and www.domain2.com both without transferring data and script on www.domain2.com
I don't want redirect www.domain2.com to www.domain1.com. So that once user will come on www.domain2.com they don't know about www.domain1.com

I have done this three month ago but lost the scrip.
Can you help to work it.

Thanks

pkumar125

1:55 pm on Apr 2, 2009 (gmt 0)

10+ Year Member



Hi

I have see [webmasterworld.com...] but it won't work for me

jdMorgan

3:40 pm on Apr 2, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The correct approach depends heavily on how the domains are hosted in the file space of the server.

Depending on that, you may need to use Alias directives, SymLinks, or perhaps a rewriting method as described in that other thread.

In order to answer your question, we will need a lot more information about the realtionship between each of your domains and the path to the filespace where their files are located.

Jim