Simple CNAME DNS Lookup from one domain to another
I'd like to get either of these 3 Use-Cases working using CNAME.
UC#1. I'd like http://www.passivefinance.com/ to have its content served from http://abc.tinyadults.com/
UC#2. I'd like http://passivefinance.com/ to have its content served from http://abc.tinyadults.com/
UC#3. I'd like http://xyz.passivefinance.com/ to have its content served from http://abc.tinyadults.com/
Ideally, I'd like all of these working, but lets focus on a simple use-case, UC#1 for now:
I would really prefer to not use Cloudflare or any other provider, and I am trying to get a basic CNAME lookup working.
Here are screenshots of my Linode Cloud DNS Settings for:
- passivefinance.com: https://www.webpagescreenshot.info/#v2=oZ5x8caWm
- tinyadults.com: https://www.webpagescreenshot.info/#v2=yKrcVt7mg
This is what I expect to happen:
When I go to www.passivefinance.com, I'd like http://www.passivefinance.com/ to have its content served from http://abc.tinyadults.com/ (or http://xyz.tinyadults.com/)
But it's not what I am seeing. Any ideas what I may be doing wrong to get this CNAME lookup working?
You don’t have DNS records for “passivefinance.com” or “www.passivefinance.com” set up according to that screenshot.
You currently have abc,random,xyz.passivefinance.com.
If you want passivefinance.com and www.passivefinance.com to be served by the same server hosting “abc.tinyadults.com” then you need DNS CNAME records for each of these pointing to “abc.tinyadults.com”.
Also it’s worth noting this isn’t a redirect - you will also need to configure your web server to serve up the same content as “abc.tinyadults.com” for “passivefinance.com” and “www.passivefinance.com”.