Skip to content
WJunction - Webmaster Forum

Addon Domain Redirect Issuse

Status
Not open for further replies.
Hi guys,

I have registered two domains i.e


  • domainone.com
  • domaintwo.com and bought a hosting account along with it.

My primary domain along with hosting cpanel url is domainone.com/cpanel and it works fine when i enter the domainone.com in address bar it loads fine. and i have added the

domaintwo.com as my addon domain in cpanel and url path is public_html/domaintwo.com

So the issue is when i enter the domaintwo.com in address bar i get the following url shown

domainone.com/domiantwo.com/. but actually it need to show as domaintwo.com

is there any way i can solve this issue
 

3 comments

Check the .htaccess file in root folder of domainone.com rewrite rules could have causing the problem.

The best option here should be change document root of the addon domain.

Move your domaintwo.com folder from the
/home/user/public_html TO

/home/user/

Go to the cPanel >>Addon domains >>edit document root for addon domain and set

/home/user/domaintwo.com

Check the site

Thanks
 
Looks like your addon domain is not configured correctly. Try to removed and steup domain again. Before placing all domain data , setup phpinfo page and make sure its working with domaintwo.com
 
Status
Not open for further replies.

About the author

S
Active Member · Joined
Playing Games,Reading Magazines,Bike Riding, Spending Time With Friends
192
Messages
33
Reactions
28
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom