简体   繁体   中英

My website not working when i do not type www in address bar

when I type (my website)linkdresources.com without www in browser it shows blank page but when I type with www.linkdresources.com then open completely how should i resolve this problem?

i hosted my website acually on herokuapp.com (linkdtry.herokuapp.com) and connect it with domain (www.linkdresources.com) but now it's not working with (linkdresources.com)

www is a subdomain of linkdresources.com. In other words it is a different "address".

For more details see this Q/A: https://superuser.com/questions/60006/what-is-the-purpose-of-the-www-subdomain

You could redirect users to your preferred domain.

If you have changed your A records for your domain name to point to heroku then always add

@ - used to point a root domain (linkdresources.com) to the IP address:

A Record | @ | XX.XX.XX.XX

www - is selected when it is needed to point www.linkdresources.com to the IP address:

A Record | www | XX.XX.XX.XX

a wildcard ( * ) record that matches requests for non-existent subdomains:

A Record | * | XX.XX.XX.XX

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM