Dear Team
I just created a droplet with wordpress and when I went to the console it was asking me for domain name or subdomain name. I just added some fake name to move ahead and completed rest of the steps. But now when I launched using my IP address, the WP seems not configured or installed properly and its NOT working right now.
Thanks
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.
If it’s an OpenLiteSpeed WordPress server, you can also log into the web admin console, then edit the Domain name from the listener manually. You can put a valid domain, a server IP, or even a
*
to accept all.Let me know if you have any questions.
Hey @chandurkarsunil,
This is because WordPress has some information related to the Domain configured in it’s Database that helps it run properly.
What you can do is use the hosts file on your computer with the fake name you have chosen for your WordPress App and then load your website using that.
To add a domain to your computer’s hosts file, you need administrative or superuser privileges, as the hosts file is a system file that maps hostnames to IP addresses locally. Here are the steps to add a domain to your hosts file:
On Windows:
Open Notepad or any text editor with administrative privileges. To do this, right-click on the text editor icon and select “Run as administrator.”
Open the hosts file located at
C:\Windows\System32\drivers\etc\hosts
.Add an entry to the hosts file in the following format:
Replace
Your_Droplet_IP_address
with the actual IP address you want to associate with the domain anddomain_name
with the domain you want to add.For example:
Save the hosts file and exit the text editor.
Then you will be able to load the fake name you added.