Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,256
Total Threads: 106,575
Total Posts: 592,698
There are 79 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Business and Website Management     Web Hosting and Domain Names :

Addon domain name redirect issue...

Thread title: Addon domain name redirect issue...
Reply    
    Thread tools Search this thread Display Modes  
04-30-2013, 12:49 PM
#1
vVv is offline vVv
Status: Sin Binner
Join date: Aug 2010
Location:
Expertise:
Software:
 
Posts: 30
iTrader: 0 / 0%
 

vVv is on a distinguished road

  Old  Addon domain name redirect issue...

I'm not sure why this is happening, and it's annoying .. But adding sub domain under primary domain account on shared hosting, redirects to: primarydomain.com/addon-domain.com/ .. instead of just taking me to "addon-domain.com" itself? What's wrong here? Or is this normal? I don't remember this happening before lol.

BlahHenry.com = primary domain on share host account
BlahBetty.com = addon domain under shared host account..

After adding BlahBetty.com as "addon domain".. going to it, takes me to:
BlahHenry.com/BlahBetty.com/ .. >_<..

Is that only because I don't have .htaccess file in BlahBetty.com root? Or is there a way to prevent this from .htaccess in BlahHenry.com .htaccess? Or cpanel settings? Contact the host?

Reply With Quote
05-02-2013, 10:19 AM
#2
harrysmith is offline harrysmith
Status: Member
Join date: May 2007
Location:
Expertise:
Software:
 
Posts: 290
iTrader: 0 / 0%
 

harrysmith is on a distinguished road

  Old

This is normal. When you add a domain as an add-on domain under an account, it creates a folder like primarydomain.com/addon-domain.com/ OR primarydomain.com/addon-domain/. But if you browse the add-on domain in the browser, it should load its contents without any issues. Well, if it doesn't and redirects to primarydomain.com/addon-domain/, then you should get in touch with your host, they'd check the server settings and do the necessary.

There's also a possibility where the .htaccess file of the primary domain might contains redirection code set, in such a case it will redirect to addon domain folder and will show the same in browser.

Reply With Quote
05-02-2013, 12:20 PM
#3
vVv is offline vVv
Status: Sin Binner
Join date: Aug 2010
Location:
Expertise:
Software:
 
Posts: 30
iTrader: 0 / 0%
 

vVv is on a distinguished road

  Old

Originally Posted by harrysmith View Post
This is normal. When you add a domain as an add-on domain under an account, it creates a folder like primarydomain.com/addon-domain.com/ OR primarydomain.com/addon-domain/. But if you browse the add-on domain in the browser, it should load its contents without any issues. Well, if it doesn't and redirects to primarydomain.com/addon-domain/, then you should get in touch with your host, they'd check the server settings and do the necessary.

There's also a possibility where the .htaccess file of the primary domain might contains redirection code set, in such a case it will redirect to addon domain folder and will show the same in browser.
Thanks for the reply Harry.. I guess I better contact the host then, because the primary domain .htaccess file doesn't have any redirection code that should affect addon domains at all. Just the non-www mod-rewrite in the .htaccess on primary domain's root.

Reply With Quote
05-11-2013, 07:05 AM
#4
cdd.hosting is offline cdd.hosting
Status: Junior Member
Join date: May 2013
Location:
Expertise:
Software:
 
Posts: 50
iTrader: 0 / 0%
 

cdd.hosting is on a distinguished road

  Old

In most cases you don't have to edit htaccess file, it will work fine

Reply With Quote
Reply    


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed