I have created a dash web app and used Apache server to deploy it.When I go to my url, www.urlname.com , it directs to IP address and IP address is shown in the search bar.Can anyone help me how to make sure that it shows the URL ?
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!
Hi @yahoo1294,
It seems like you haven’t configured properly your Apache Virtual Configuration or added an .htaccess redirect.
Firstly,I’ll recommend checking out the /etc/apache2/sites-available/example.com.conf where example.com will need to be replaced with your domain name. There you might have created a redirect to your IP address. If you are unsure what changes to do, I’ll recommend checking out the following Apache article:
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04
If you are still unsure afterwards, I’ll recommend posting your config here so that we can assist you with it.
Another possibility would be your .htaccess having a redirect to your IP address. The .htaccess will be placed in your website’s document root. I’ll recommend checking out there.
Regards, KDSys
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.