cd /var/www/html/
mkdir diaz solis25
cd diaz
nano index.php
cd ..
cd solis25
nano index.php
Ingresar a aqui el codigo de la pagina web, en mi caso "esta es mi segunda pagina "
<VirtualHost *:80>
ServerAdmin root@localhost
DocumentRoot "/var/www/html"
DirectoryIndex index.php
</VirtualHost>
<Virtualhost *:80>
ServerAdmin root@localhost
ServerName www.diaz.com
ServerAlias diaz.com
DocumentRoot "/var/www/html/diaz"
DirectoryIndex index.php
</VirtualHost>
<VirtualHost *:80>
ServerAdmin root@localhost
ServerName www.solis25.com
ServerAlias solis25.com
DocumentRoot "/var/www/html/solis25"
DirectoryIndex index.php
</VirtualHost>
C:\Windows\System32\drivers\etc
No hay comentarios.:
Publicar un comentario