ironhamster88 Posted April 16, 2010 Share Posted April 16, 2010 Hi all, I've got an amazon aws instance running Fedora. All set up and working well, the issue came when I try to set up vhosts. Internally (i.e. from a browser on the box), they work, so I can open Firefox on Fedora via VPN and type say: http://site1.localhost and I see the site fine. However, if I revert back to my computer and go to http://site1.amazon-aws-url.com (amazon-aws-url in place of my actual aws url), I get a Server not found error. Obviously I'm missing some sort of config somewhere, but I don't know what. Any suggestions? Cheers Pete Link to comment https://forums.phpfreaks.com/topic/198749-vhosts-externally/ Share on other sites More sharing options...
trq Posted April 16, 2010 Share Posted April 16, 2010 Have you configured dns for those subdomains anywhere? Link to comment https://forums.phpfreaks.com/topic/198749-vhosts-externally/#findComment-1043093 Share on other sites More sharing options...
ironhamster88 Posted April 16, 2010 Author Share Posted April 16, 2010 The only DNS settings that I know of are the ones that are set up with regard to the amazon aws hosting. So I've got an amazon aws url that looks something like: ec2-181-72-3-45.compute-1.amazonaws.com Link to comment https://forums.phpfreaks.com/topic/198749-vhosts-externally/#findComment-1043102 Share on other sites More sharing options...
trq Posted April 16, 2010 Share Posted April 16, 2010 Well, each sub domain will need to have a dns entry or you can add a wildcard entry to catch all. You'll need to speak to your host to find out how to set it up. Link to comment https://forums.phpfreaks.com/topic/198749-vhosts-externally/#findComment-1043109 Share on other sites More sharing options...
ironhamster88 Posted April 16, 2010 Author Share Posted April 16, 2010 will do, thanks :-) Link to comment https://forums.phpfreaks.com/topic/198749-vhosts-externally/#findComment-1043123 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.