topic Re: CPanel Subdomain Redirect Issue in cPanel Hostinghttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/82932#M3147
<P>Hello <LI-USER uid="152204"></LI-USER> ,<BR />If you have too many sub domains you would like to land on let's say domain1.com/page1&nbsp; you may use /.htaccess I found this : <A href="https://mediatemple.net/community/products/grid/204643080/how-do-i-redirect-my-site-using-a-htaccess-file" target="_blank">https://mediatemple.net/community/products/grid/204643080/how-do-i-redirect-my-site-using-a-htaccess-file</A><BR />How to do that:<BR />1. create the sub domain from cPanel page (it will create a subfolder like:&nbsp; public_html/sub.domain1.com/<BR />2. put the .htaccess to that folder.<BR />3. Look for the right codes, i believe Godaddy has a premium service if you want them to do it for you. or check that link I gave.<BR /><BR />If just one sub-domain&nbsp; only to be landed on sub-folders you may use <A href="https://uk.godaddy.com/help/forward-a-domain-12123" target="_self">Godaddy's-Webforwarding<BR /></A><BR /><BR />Warm Regards,<BR /><BR />Joven -- <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://uniib84584.i.lithium.com/community/s/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /></P>Fri, 29 Dec 2017 17:47:46 GMT3fk2017-12-29T17:47:46ZCPanel Subdomain Redirect Issuehttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/82795#M3146
<P>Hello,</P><P>&nbsp;</P><P>Hoping someone can help me out. I don't know much about web development, but what I'm trying to do should be simple. I want to forward multiple pages on my website to existing affiliate websites using CPanel. I created multiple subdomains and these subdomains forward successfully when typed in this manner: products.example.com. However, I would really like my website to forward to the affiliate site when typed in this manner: example.com/products. When typed in that manner it shows the index directory instead of going to the page I want it redirected to. How can I accomplish this?</P><P>&nbsp;</P><P>Thanks for any assistance!</P>Fri, 29 Dec 2017 16:51:41 GMThttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/82795#M3146jheath862017-12-29T16:51:41ZRe: CPanel Subdomain Redirect Issuehttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/82932#M3147
<P>Hello <LI-USER uid="152204"></LI-USER> ,<BR />If you have too many sub domains you would like to land on let's say domain1.com/page1&nbsp; you may use /.htaccess I found this : <A href="https://mediatemple.net/community/products/grid/204643080/how-do-i-redirect-my-site-using-a-htaccess-file" target="_blank">https://mediatemple.net/community/products/grid/204643080/how-do-i-redirect-my-site-using-a-htaccess-file</A><BR />How to do that:<BR />1. create the sub domain from cPanel page (it will create a subfolder like:&nbsp; public_html/sub.domain1.com/<BR />2. put the .htaccess to that folder.<BR />3. Look for the right codes, i believe Godaddy has a premium service if you want them to do it for you. or check that link I gave.<BR /><BR />If just one sub-domain&nbsp; only to be landed on sub-folders you may use <A href="https://uk.godaddy.com/help/forward-a-domain-12123" target="_self">Godaddy's-Webforwarding<BR /></A><BR /><BR />Warm Regards,<BR /><BR />Joven -- <img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://uniib84584.i.lithium.com/community/s/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /></P>Fri, 29 Dec 2017 17:47:46 GMThttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/82932#M31473fk2017-12-29T17:47:46ZRe: CPanel Subdomain Redirect Issuehttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/83328#M3148
<P>That worked, thank you very much Joven!</P>Sat, 30 Dec 2017 02:44:34 GMThttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/83328#M3148jheath862017-12-30T02:44:34ZRe: CPanel Subdomain Redirect Issuehttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/83330#M3149
<P>Well... it partially worked! So I did the .htaccess and it worked great for redirecting the first subdomain. I have a total of four subdomains to redirect, each to different websites. When I try to save a .htaaccess file to the other subdomain folders, I get an error that the "destination already exists". Any work around for that?</P>Sat, 30 Dec 2017 03:05:55 GMThttps://www.godaddy.com/community/cPanel-Hosting/CPanel-Subdomain-Redirect-Issue/m-p/83330#M3149jheath862017-12-30T03:05:55Z