Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 4th Dec 2013, 12:00 AM   #1
Warrior Member
 
Join Date: 2012
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Need help from fellow Webmasters/Programmers - Multiple domain issue
Share on: 
fb share twitter share gplus share more share

Hello all,

I need some serious help this time. I hope you will help me get out of this mess..

I have multiple websites running on linux Shared Hosting.

Okay here's the issue:
I have my main domain: mainsite.com
And addon domain: secondary.com
Now, if I have a post or any page at: secondary.com/test-post
when I try mainsite.com/secondary.com/test-post in browser, then it redirects back to secondary.com/test-post which is Good.
BUT, when I try seconday.mainsite.com/test-post then it does not redirect. which is BAD!(Note- seconday.mainsite.com redirects correctly to secondary.com homepage)

Any free advice or suggestions are highly appreciated, any paid help would also be welcome!!

Thanks,
Mike
mikestar20 is offline  
Unread 4th Dec 2013, 09:01 AM   #2
New Warrior Member
 
Join Date: 2006
Location: Essex Country NJ
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Need help from fellow Webmasters/Programmers - Multiple domain issue
Share on: 
fb share twitter share gplus share more share

what are you running at the main and secondary domains and which control panel are you using?
brunski is offline  
Unread 4th Dec 2013, 11:34 AM   #3
Warrior Member
 
Join Date: 2013
Posts: 7
Thanks: 1
Thanked 1 Time in 1 Post
Default
Re: Need help from fellow Webmasters/Programmers - Multiple domain issue
Share on: 
fb share twitter share gplus share more share

Its very simple, it happens a lot, just add a redirection code to the proper domain if the SERVER REQUEST uri contains mainsite.com
wpsmack is offline  
Unread 4th Dec 2013, 12:16 PM   #4
Warrior Member
 
Join Date: 2012
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Need help from fellow Webmasters/Programmers - Multiple domain issue
Share on: 
fb share twitter share gplus share more share

Use CPanel shared hosting..
mikestar20 is offline  
Unread 4th Dec 2013, 02:03 PM   #5
New Warrior Member
 
Join Date: 2006
Location: Essex Country NJ
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Need help from fellow Webmasters/Programmers - Multiple domain issue
Share on: 
fb share twitter share gplus share more share

check the .htaccess file in both main and secordary domains for a redirect that is not working as expected, also check the subdomain/addon domains redirects in cpanel.
brunski is offline  
Unread 4th Dec 2013, 02:27 PM   #6
Active Warrior
 
Join Date: 2013
Posts: 67
Thanks: 0
Thanked 4 Times in 4 Posts
Default
Re: Need help from fellow Webmasters/Programmers - Multiple domain issue
Share on: 
fb share twitter share gplus share more share

i thing you should contact to linux Shared Hosting.

embossitworld is offline  
Unread 5th Dec 2013, 03:41 AM   #7
Warrior Member
 
Join Date: 2012
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Need help from fellow Webmasters/Programmers - Multiple domain issue
Share on: 
fb share twitter share gplus share more share

The redirection issue has now been resolved. Thanks!
mikestar20 is offline  
Closed Thread


Bookmarks

Tags
domain, fellow, issue, multiple, webmasters or programmers


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:37 PM.