Visa ett inlägg
Oläst 2007-03-10, 01:22 #4
lazats avatar
lazat lazat är inte uppkopplad
Mycket flitig postare
 
Reg.datum: May 2004
Inlägg: 537
lazat lazat är inte uppkopplad
Mycket flitig postare
lazats avatar
 
Reg.datum: May 2004
Inlägg: 537
Hej

Anledningen till att det tar lång tid att boota om en apache är att den ska resolva alla dns namn. Antingen så har man en cashande DNS på webbserven så det går fort eller så konfigurerar man som det nedre exemplet.

------- SEG LÖSNING----------------
NameVirtualHost 193.0.253.xx:80
<VirtualHost www.xxxxxxxxxxxx.com:80>
ServerName xxxxxxxxxxx.com
</VirtualHost>

<VirtualHost www.yyyyyyyyyyy.com:80>
ServerName yyyyyyyyyyyy.com
</VirtualHost>


------- SNABB LÖSNING----------------

NameVirtualHost 193.0.253.xxx:80
<VirtualHost 193.0.253.xxx:80>
ServerName www.vvvvvvvvvvvvv.com
ServerAlias vvvvvvvvvvvvvv.com
</VirtualHost>

<VirtualHost 193.0.253.xxx:80>
ServerName www.vooooooooooo.com
ServerAlias ooooooooooo.com
</VirtualHost>
lazat är inte uppkopplad   Svara med citatSvara med citat