Hello, I have to setup a parked page on my server, but having the hardest time figuring out the commands to do it. Would it be possible to set the parking in a way so I don't have to edit the httpd.conf everytime I need to add a domain to the list? for example: 1pDomain.com is parked on domain.com I guess what I want is that if domain2.com is also pointing to the same server, it also shows the page at 1pDomain.com automatically without having to edit any conf files. (domain2.com does not have a DOCROOT set on this server) Is this possible? if so how? Thanks
You'll want to setup a cname record. Make sure it points to the correct IP address, then you will need to add the domain to httpd.conf (copy and pasting would be easiest)
/etc/apache2/sites-enables/000-default If you have something like that as your default, it'll "catch" all requests that hit apache that it does not have a specific config for (This includes IP only hits). Then you go setup /var/www (in this example) to have your parked HTML. You wont need to make _any_ changes to apache for any new domains you point at your server.