: When I search on my domain name in a browser, the IP address is returned for my site hosted with GoDaddy and NGINX The IP address of my site is returned when I do domain name search in
The IP address of my site is returned when I do domain name search in my browser.
I am using:
GoDaddy Hosting
Nginx
Node.js
Obviously I would like the domain name and not the IP address, how can this issue be resolved?
More posts by @Debbie626
1 Comments
Sorted by latest first Latest Oldest Best
Add this block to your NGINX config:
server {
listen 80;
server_name here.your.ip.address;
rewrite ^ example.com$request_uri? permanent;
}
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.