I have a problem and I am not sure what terms I need to use to ask the correct question thus google and other searches are not being too helpful for me.
I have a dedicated web server that hosts my website and IoT sensors (CentOS & WHM/cPanel).
I also have a cname record that points to a newly created shopify account (as per their instructions)
websitename.com -> points to my servers IP address
shop.websitename.com -> point to shopify
I have some IoT sensors that connect directly to
websitename.com on both port 80 and via MQTTs on port 8883.
I also have .htaccess files so that all web traffic is redirected from port 80 to port 443 with the exception of a directory that the sensors can access via port 80.
I want to create
io.websitename.com so that the sensors can connect to that via port 80 and 8883.
I need the website to be still visible on
Needed in several weeks
The domain name
websitename.com redirects to shopify.
‘io.websitename.com’ will become the web site being served from my server.
Unfortunately I need to do this in stages so that I can transfer working sensors from using
io.websitename.com and once they are moved and working, then move the website from
io.websitename.com, then finally make
websitename.com go to shopify.
I am using cloudflare for all my DNS stuff, so I am not using Bind on my server.
I am not sure if what I am asking is possible and any guidance is appreciated.