I have two https://www.noip.com/ domains, domain1.noip.com
and domain2.noip.com
, that point to the same IP.
I have an apache config file to serve up domain1.noip.com
and it works. The problem is if I go to domain2.noip.com
it also serves up the site.
I want to make it so domain2.noip.com
doesn't work, as in it loads nothing. The desired effect is if I went to a bad URL/site like where the web browser shows 'This site can’t be reached.'
<VirtualHost *:80>
ServerAdmin my@email.com
DocumentRoot /var/www/stuff
ServerName domain1.noip.com
</VirtualHost>