Can someone help me out? I've been trying to understand the first line of the virtual host configuration in Apache for a very long time. The documentation says that it should be an IP address or a FQDN. But I've also seen it in several different formats from tutorial sites:
<VirtualHost domain.com:80>
<VirtualHost *:*>
<VirtualHost domain.com:*>
Which one is correct? What is it fighting with in my config file? (I edit this in sites-available individually for each site.)
Currently, my server has two sites-available's set up and enabled, but both sites pull up the same site, regardless of what I have specified in the definition.
I'm in the middle of an OS reboot on my VPS right now and I'd really love to set this up correctly for once!
Thank you!
Bookmarks