Mobile app version of vmapp.org
Login or Join
Gretchen104

: CNAME record at AWS Route 53 DNS is landing on defaultwebpage.cgi I have been trying to get this to work for hours. I have a WordPress multisite hosted on a shared server - but with a

@Gretchen104

Posted in: #Cname #Domains #Route53 #Subdomain #Wordpress

I have been trying to get this to work for hours. I have a WordPress multisite hosted on a shared server - but with a dedicated IP address for my WP installation, and my client sites are set up as subdomains inside of the WordPress network.

So a client might have a WordPress site called client.bigmultisite.com.

I want to use AWS Route 53 as the DNS service, and I want the client's own domain name to map to client.bigmultisite.com

In Route 53, I set up a CNAME that maps theclient.com to client.bigmultisite.com

I also set up an S3 bucket named theclient.com and statically redirected that to theclient.com
OK, at this point inside of Route 53 both theclient.com and theclient.com should end up redirecting to client.bigmultisite.com

The problem is that when I put either site into my browser (after flushing DNS, clearing history, trying different computers, etc) I always land on my hosting account "default cgi" page that says "sorry..."

Any insight as to what might be going on, would be appreciated.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

1 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

All a CNAME record does is handle address resolution. In otherwords if client.bigmultisite.com has an A record of 1.1.1.1 if you then CNAME clientsite.com to client.bigmultisite.com the users browser will be given the IP of 1.1.1.1 to go to with the domain name of clientsitecom. What you would need to do it either have it running as the only site on the server so that all connections regardless of domain go to that site (default site in Apache) or you would have to go into the vhost record for the wordpress site and add each and every client domain as a host alias record. The first option is the most common as it is easier to maintain and does not require configuration changes every single time a new client is added.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme