Silver Posted September 19, 2011 Share Posted September 19, 2011 For viewing/running a developed site or script, pls. provide pros. and cons. of using virtual hosts, if any, as opposed to browsers. Link to comment Share on other sites More sharing options...
Larry Posted September 19, 2011 Share Posted September 19, 2011 I know I'm saying this a lot lately, but I don't think I understand your question. When I think of "virtual host", I think of an Apache configuration that allows me to serve multiple Web sites using multiple names from the same computer using the same Web server. To me, this is not an alternative to a browser, and vice versa. Link to comment Share on other sites More sharing options...
Silver Posted September 19, 2011 Author Share Posted September 19, 2011 Yes Larry, that’s exactly what I meant by “virtual host”, and many thanks for answering my regrettable unclear question. Link to comment Share on other sites More sharing options...
Larry Posted September 19, 2011 Share Posted September 19, 2011 Okay, then. Well, you're always going to use a browser regardless. I prefer to use virtual hosts myself, because it allows me to keep the code for different sites separate. More importantly, it allows me to run all sites as if they were in the Web root, which they will be when they go on a live server. The cons are that you need to set up the virtual host. Link to comment Share on other sites More sharing options...
Recommended Posts