I have created a Record Set
Name: www.nevermind.com.
Type: A
Alias Target: nevermind.com.
nevermind.com
is working but www.nevermind.com
is not working.
I get an error: 404 Not Found
update: I'm using s3 service to host my code.
Any ideas?
For s3 hosted websites - to enable the www subdomain for your domain, you need to do the following -
Create another s3 bucket with your subdomain name - www.nevermind.com
In the www.nevermind.com bucket choose properties -> static website hosting -> choose redirect requests -> in target bucket/domain put your domain "nevermind.com"
save
In route53 DNS record, create a new record set -> enter "www" for the Name -> select Alias: "Yes" -> use the "www.nevermind.com" s3 bucket alias endpoint.
After this, your www.nevermind.com should redirect to nevermind.com.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With