By oskariShrimp
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.