Hey! I am trying to setup a Wordpress droplet without an existing domain and access it only through the IP address. However I cannot not get through the setup without being requested for a domain or subdomain. Is there a way to get around this? I only want to use wordpress as a CMS for a react native app and I don’t have a domain where I would want to show the content created in wordpress.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
I believe you should be able to just use the droplet IP in place of the domain name.
I never use those auto-installers I do it all the old fashioned way so I can tailor everything to run on what I want it on.
Hello, @oskariShrimp
You can complete the installation using the droplet IP or any domain name of your choice (even if you don’t currently own the domain name), example yourdomain.com and then simply alter the hosts file on your local machine and trick your computer to bypass the DNS lookup and access the site on your droplet.
The location of the file is as follows:
Windows PC
c:/windows/system32/drivers/etc/hosts
Mac OSX
/private/etc/hosts
Linux
/etc/hosts
Just open the file and the following line:
DropletIP yourdomain.com www.yourdomain.com
Note: change ‘DropletIP’ with your actual droplet’s IP address
Hope that this helps! Regards, Alex