virtualhost - Must Apache virtual hosts be used when developing on localhost? -
my document root default /var/www/html. if create subdirectories inside html/ directory:
html/ example/ dev/ test/ i seem have many sites can access in web browser:
localhost/example localhost/dev localhost/test considering above, setting apache virtual hosts seems unnecessary. should use apache virtual hosts when developing on localhost? please why in answers provide.
thanks in advance.
i use virtual hosts development because prevents unintended cross contamination (i.e. using image etc belongs on site).
but opinion.
also separates work better.
Comments
Post a Comment