I think I made a conf mistake, but spacing out on how to fix...
Inherited site originally hosted at GoDaddy, used their control panel to point at ns1-5.linode.com and changed A record there to point at Linode IP address.
Used the Linode DNS Manager to make the default records for the domain, everything looks right.
Going to mydomain.com redirects successfully, but switches to the Linode IP address instead of mydomain.com
My /etc/hosts (IP obscured)
127.0.0.1 mydomain.com localhost localhost.localdomain myhostname
50.116.**.*** mydomain.com myhostname
# The following lines are desirable for IPv6 capable hosts
::1 mydomain.com localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
My mydomain.com.conf
# domain: mydomain.com
# public: /home/public/mydomain.com/
<VirtualHost 50.116.**.***:80>
# Admin email, Server Name (domain name), and any aliases
ServerAdmin ***
ServerName mydomain.com
ServerAlias
www.mydomain.com # Index file and Document Root (where the public files are located)
DirectoryIndex index.html index.php
DocumentRoot /home/public/mydomain.com/public
# Log file locations
LogLevel warn
ErrorLog /home/public/mydomain.com/log/error.log
CustomLog /home/public/mydomain.com/log/access.log combined
</VirtualHost>
<VirtualHost 50.116.**.***:443>
SSLEngine On
SSLCertificateFile /etc/ssl/localcerts/apache.pem
SSLCertificateKeyFile /etc/ssl/localcerts/apache.key
ServerAdmin ***
ServerName mydomain.com
DocumentRoot /home/public/mydomain.com/public
ErrorLog /home/public/mydomain.com/log/error.log
CustomLog /home/public/mydomain.com/log/access.log combined
</VirtualHost>
What did I mess up here?