Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Subdomain redirect while Cname host (pointing to 3rd party hosting) taken

Hello

I have namecheap and in domain settings Ive set subdomain CNAME to point at third party hosting, which I do NOT control.

So now its their hosting attached to by subdomain.

Ive set Url Redirect from that subdomain to Root domain (I absolutely need it)
in namecheap panel because I do not have access to hosting.


But its conflicting because of doubled host! I use host "subdomainname" in cname record pointing to 3rd party hosting. So now to redirect the subdomain i have to use exactly same subdomain name.

But its taken because of CNAME record.


Is there any way to achieve it?
(Jun 13, 2017 09:08 AM)M0HX Wrote:  I dont quite understand you really lol.. so

you have this in your namecheap dns manager:
subdomain.website.com (CNAME) record that points to a 3rd party website.

and also you want this (subdomain.website.com) to be the same as website.com ?

yes matey.

i think ive found a workaround, ill post later

ty for your concern <3
(Jun 13, 2017 09:32 AM)M0HX Wrote:  well.. i think its as simple as using www and domain.com or @ in the dns manager and point them to the same ip/3rd party location.

or use .htaccess to redirect from your main domain to ur subdomain.website.com

there might be another ways too .. im on my phone nd im still thinkin.. lol lmk if u need help!


https://stackoverflow.com/questions/1363...oot-domain


or domain forwarders might be an option availavle for you in your dns manager

https://uk.godaddy.com/help/forward-a-subdomain-19977


So i've tried My way and it didnt do it. Ive added website to cloudflare. Then set url forward there. But that didnt work as I cant set the redirect on grey cloud (only on orange cloud) settings of cname record. And vice versa, I cant point to cloudflare if orange cloud of cname is OFF. i thought i had it but noes.


htaccess is not an option as I do not have access to hosting.


the www trick doesnt work in cloudflare.

these are the records I can add to CF
[Image: ZQrx8IO.png]

edit

oh shit

i got it working !!!

GRACIAS :)


Possibly Related Threads...
Thread / Author Replies Views Last Post
by ApexDexterityAug 12, 2021 03:53 PM 2 103 Aug 12, 2021 03:53 PM
Last Post: Ninja™
by draxyeeJan 13, 2020 02:10 PM 2 142 Jan 13, 2020 02:10 PM
Last Post: Porn
by krazyfakenOct 31, 2019 10:15 AM 2 120 Oct 31, 2019 10:15 AM
Last Post: krazyfaken