I have two domains abc.com & xyz.com and I want to run same site on both domains
i.e visitor visit abc.com & sees abc.com & address bar= abc.com
now visitor visit xyz.com & sees abc.com & address bar= xyz.com
with all link working like xyz.com/products same as abc.com/products
what I want to do to correct links I successfully forward my domain (xyz.com to abc.com) via godaddy, now visitor visit xyz.com but see content from abc.com and addressbar shows xyz.com problem is on clicking the link xyz.com/products addressbar becomes abc.com/products
please help me & i want to do this via .htaccess file
Related
The domain example.Org is custom domain name that points to WP Multisite enabled example.Com
WP Mu site example.Com is working fine.
/home/example.Com/
This WPMU example.Com is added via CyberPanel
I need to create a subdomain name like this
ok.example.Org that uses different php-CMS (not the WP )
I'm stuck at the process ..
Cloudflare > DNS > add A record points to server IP / #
CyberPanel > Create new website > do.example.Org
(example.Org points to WPMU .Com site)
http check result shows
302
Connection Closed
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 DigitalOcean server with a website that is accessible from an IP with a port (ex. http://102.231.92.192:5000, this is not the real url but an example) and I have a Google Domain (ex. domainExample.com).
I am trying to make it so that if a user navigates to the Google Domain URL, the URL accesses the website from the server. On Google Domains I have forwarded a subdomain, used a custom name server, and have followed all instructions from DigitalOcean's guide. However, when I try navigating to the Google Domain URL in browser, the page redirects to the raw server url (I type in "domainExample.com" in the browser and the page switches to "102.231.92.192:5000", correctly displaying the content. However, I want the page to not redirect and keep "domainExample.com" in the address bar.)
Basically my end goal is being able to do the following with a Google Domain:
User types in "domainExample.com" in the address bar
The content from the site on "102.231.92.192:5000" appears, and the url in the address bar remains "domainExample.com", with no ip or port.
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.