Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
The IP address of my site is returned when I do domain name search in my browser.
I am using:
Obviously I would like the domain name and not the IP address, how can this issue be resolved?
'Google can index IP addresses too'
Add this block to your NGINX config:
rewrite ^ http://example.com$request_uri? permanent;
Required, but never shown