40 Apache Show Domain Name Instead Ip Address New

The domain name showing the ip adress instead of the domain posted september 11 2014 23k views.
Apache show domain name instead ip address. As a result in my var www i have folders that correspond the domain name. So my guess is you have port forwarding done and you do not have a static ip address from your internet service provider so you will have to do something like use the duckdns dynamic domain name service to associate your a domain name with a potentially changing ip address from your isp. When i ve tried that in the past the site will correctly display my domain name instead of my ip address but i am then unable to login or access my website at wp admin and have to fix it by editing my theme s functions php file.
I ve got an old desktop running kubuntu 6 06 and apache2 that i use as a media center and webserver. By default it will list your site s ip address. After getting all your cname aliases set up you would go to general settings change site address url to whatever your domain is.
Redirect ip address to domain name apache posted december 18 2014 118 9k views. Ip displaying instead of domain this is my first post on this forum so i apologize if this problem has been addressed earlier and i didn t find it. The other way to get an ip address to appear as a domain address is to set up a virtual host in your web server that resolves to that domain name and edit the hosts file of all of your lan computers to resolve that domain at your web servers internal ip address.
Since i might host several static websites on the same droplet i ve used apache s virtual host.