Switching from domain to subdomain

I have my server running, port forwarding enabled, and successfully got my domain to connect to that IP. The issue im having is switcing from my main domain i.e. mydomain.com to mc.mydomain.com. Im using cloudflare to manage domain and dns settings.
Solution:
You should not have it proxied, that means it publishes cloudflare's IPs not yours, cf free plan can only proxy websites. a SRV should look like this: (Replace CNAME by A to your IP)...
No description
Jump to solution
8 Replies
Arthurmeade12
Arthurmeade122w ago
How are you trying to make it a subdomain
buoy1897
buoy1897OP2w ago
I have mydomain.com as an A type pointed at 123.456.789 and have tried changing it to just mc.mydomain.com and a SRV type with mydomain.space as its target
buoy1897
buoy1897OP2w ago
it currently works with this setup using mydomain.space
No description
buoy1897
buoy1897OP2w ago
No description
Upioti
Upioti2w ago
why is it proxied bruh
buoy1897
buoy1897OP2w ago
idk i know very little about this lmao
Solution
Upioti
Upioti2w ago
You should not have it proxied, that means it publishes cloudflare's IPs not yours, cf free plan can only proxy websites. a SRV should look like this: (Replace CNAME by A to your IP)
No description
buoy1897
buoy1897OP2w ago
Okay sorry if im being big dumb. Am i supposed to have 1. A Type: mydomain.space --> myip CNAME: mc --> mydomain.space SRV: targeting --> mc.mydomain.space or 2. A type: mc.mydomain.space --> myip SRV file oh wait holy crap it worked!

Did you find this page helpful?