Forum archive
Making <domain> show the website as well as www.<domain>
OK hopefully this is a simple query and one I hopefully (half-)know the answer to.
I'd like to make my two web servers (Magento and Joomla) show their respective content seamlessly whether the user types www.<domain> or just <domain> into their web browser.
I think what I need to do is:
1. adjust DNS settings so <domain> points to the correct IP (CNAME?)
2. create a vhost for <domain> on each web server.
Is that right? Is there anything else?
Grateful for any advice.
As a supplementary issue: I currently have two web server as mentioned. Could I possibly host both the Magento and the Joomla on the one server (thus saving on EC2 fees?) I'm guessing this would be similar to above with DNS and VHOST settings? Would this make things over-complicated and/or over-stress the server?
Regards
Hugh