How can I configure DNS CNAME or another record which do the following requirement?
existing domain with its URL: example.com/brand/main/top
another domain: newdomain.com
My need is when I hit newdomain.com, it opens the existing domain URL (example.com/brand/main/top) with newdomain.com.
In CNAME,
you can only point one domain to another domain.
path or url can't be mentioned in dns records.
to reach the url, you can configure htaccess to redirect incoming request of
newdomain.com to example.com/brand/main/top
Related
I'm trying to redirect multiple domain names to their corresponding landing pages on my website using name servers, but don't know where to start.
Example:
I have two domain names 1)ABC.com 2)123.com. I want to set the name servers of each domain to forward them to the landing page on my website, so ABC.com would redirect to MyWebsite.com/abc and 123.com would redirect to MyWebsite.com/123.
Any help as to where I could a general direction to make this happen?
DNS is solely responsible for the name 123.com to address 12.34.56.78 mapping. It has no concept of anything that happens beyond that. Via DNS you would need to point both names to the address of the web server.
Then on the web server, configure a site at abc.com and 123.com, with each site being redirected the appropriate place.
This way, the HTTP software will detect which domain name is requested and redirect it as required.
You basically need to follow the link shared in comments, but do that for each domain. - How do I redirect a domain to a specific "landing page"?
I have a domain and I pay $10/monthly to site5 host my portfolio. But now, I just need a Behance page. Is there any way to redirect my domain to behance, without having a host service?
I imagine you can set up a 301 redirect directly from the domain name's control panel no?
In OpenShift both mydomain.com and www.mydomain.com are configured as aliasses of myapp-rhcloud.com. Same for cloudflare.
I tried with the following coment: DNS settings openshift cloudflare
'www.mydomain.com' work fine, but the naked domain 'mydomain.com' redirects me to an error page that says: "The connection is not private. It is possible that unauthorized users are trying to steal your information" the Link change from example.com to https:// example.com/app with the 'https' denied.
Also an icon appears next to the CNAME in CloudFlare:
"Flattening CNAME will be applied to this record since root (ie apex) CNAME records are limited by the DNS specification." I dont understand that.
I modified the rules in cloudflare like this:
redirects "http:// example.com/*" to "http:// www.example.com/$1"
with '301' for the redirect type
I'm missing something?
After a few days my page example.com it worked. The link in my question works right, the problem was that CloudFlare took 4 days to establish the rules associated in the CNAME.
In conclusion... just wait.
I have a domain aaa.com
I have a hosting with another domain bbb.com
When user enter at aaa.com I need to show him the site that located at subdomain.bbb.com
How can I do that?
Thanks
Do you want to display aaa.com in the address bar? Then create a CNAME record aaa.com pointing to subdomain.bbb.com in your DNS settings for aaa.com. Otherwise, create an URL redirect record similarly.
we have 2 domains setup example.co.in and another example.com. Email MX records are pointed to example.co.in domain. As of now example.co.in has our app. I want to redirect application URL example.co.in to example.com. Only Domain need to be redirected and all sub domains should be same. Planned to do 301 redirect on domain level. I am not sure how MX records will be affected on this.
Can someone guide on this whats the best way to do this ?
301 redirect are page base. It won't affect mail delivery.
https://moz.com/blog/url-rewrites-and-301-redirects-how-does-it-all-work