Koristim Apache/1.3.23 i Bind DNS. Ispravno sam dodao poddomenu u Bindu i u Apache-u ali imam problema. Imam domenu www.steelx.com i hoću da dodam poddomenu http://gomez.steelx.com. Međutim, kada dodam navedenu poddomenu i kada unesem u web browseru http://gomez.steelx.com on mi otvara www.steelx.com. Mislim da negdje grešim sa Apache-om.
www.steelx.com u Apache je dodana ovako:
<VirtualHost *>
ServerAdmin [email protected]
DocumentRoot /home/webmaster/public_html
ServerName steelx.com
ServerAlias www.steelx.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
A poddomena http://gomez.steelx.com je dodana ovako:
<VirtualHost *>
ServerAdmin [email protected]
DocumentRoot /home/linux/public_html
ServerName gomez.steelx.com
ServerAlias www.gomez.steelx.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
Gdje sam pogriješio?
May the penguin be with you!