jeudi 1 janvier 2015

Set up virtualhost on apache2


Vote count:

0




I have successfully installed apache2 on my centos 6.6 , and naw am trying to set up a basic virtualhost without any log file ..., but here where am stuck :



  • This is my etc/httpd/conf/httpd.conf


ServerAdmin webmaster@domain1.com ServerName www.domain1.com ServerAlias domain1.com


127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6


i have already tried to put my domain name with the hosts like that (localhost localhost.localdomain domain1.Com)but in vain ,when i launch (www.domain1.com) in my browser i get just the test page of apache 2 on local .


I'm not quite sure how to fixe this?


Kind regards ,



asked 58 secs ago

zak

1






Set up virtualhost on apache2

Aucun commentaire:

Enregistrer un commentaire