Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello there,
I’m currently trying to get my site to display its domain name (which I’ll call example.com) rather than the ip address associated with it. I’ve looked at tutorial after tutorial, but I haven’t come across a solution. I’m using Nginx with Wordpress in a docker container running on a digitalocean droplet.
Currently, I have three NS records with hostname set to my domain example.com, and they direct to ns1.digitalocean.com, ns2.digitialocean.com, etc. I can visit my site by typing in example.com, but it then displays the ip address, and I want it to display example.com instead.
I’ve tried the following:
1.) I’ve tried going into my nginx.conf file and changing the server_name variables to my hostname instead of the ip address, but this doesn’t change anything.
2.) I’ve tried navigating to my wordpress wp-config.php file and adding
define('WP_SITEURL', 'http://www.example.com');
define('WP_HOME', 'http://www.example.com');
but this causes a ‘too many redirects’ error. I’ve also tried it without the www, but that also produces a too many redirects error.
What am I doing wrong? Does anyone know how I can get my site to always display the hostname over the ip address? Any help would be appreciated.
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
Ruz
Ruz
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e
markatango
gouskova
Andrew J Montanus