[HELP] mydomain.com works but www.mydomain.com loads the apache splash page

[ad_1]

So I recently decided to get a larger and faster server to host my two websites and maybe a few more. I thought I had it setup correctly but apparently I made a mistake and am not sure how to resolve it.

​

both of my websites work perfectly fine when you go to [mydomain1.com]) or [mydomain2.com]) however, if you add www. to either one they both show the apahce2 splash page.

on the DNS side i have the CNAME for www pointing to the [mydomain1.com]) and [mydomain2.com]) respectively

I assume it has to do with how i configured the virtual host but i am unsure.

I tried editing the siteurl on the admin side directly to [www.mydomain1.com]) but that caused all kinds of hell so i went into the mysql db and edited it back manually to [mydomain1.com])

Any suggestions or pointing me in a direction would be greatly appreciated.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer