Question

WWW - show "Apache is functioning normally"

when I access http://mydomain.com it’s ok. but when I access http://www.mydomain.com It’s show text like “Apache is functioning normally” .

how to fix it?

my setup is

A @ ip.ip.ip CNAME * @ CNAME www @

and another question , when I access mydomain.com and hover mouse point to link in my wordpress website

the link show IP Adress , how to fix it ?

Thank.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

hello my dear friends i saw this question in google search, you can check this link for resolve this problem: https://wiki.serversetup.co/2014/12/apache-functioning-normally-directadmin/

when I access http://mydomain.com it’s ok. but when I access http://www.mydomain.com It’s show text like “Apache is functioning normally” .

how to fix it?

Edit the vhost file for mydomain.com and add the following inside <VirtualHost>:

ServerAlias www.mydomain.com

Save the file, do a configtest:

sudo apachectl -t

Reload Apache:

sudo service apache2 reload

when I access mydomain.com and hover mouse point to link in my wordpress website

Login to WP-Admin > Settings > General and set the WordPress Address and Site Address fields.