Help - Search - Members - Calendar
Full Version: Problem with config of multiple websites ( Ubuntu 16.04, Webmin)
HTMLHelp Forums > Programming > Web Server Configuration
sanoj96
Hi,

I have some problems setting up multiple websites on my server.
Both of the Urls are working, but both sends me to the same "php" file.


Apache settings:

(main website)
DocumentRoot /var/www/website.com
ServerName website.com
ServerAlias *.website.com, website.com
<Directory "/var/www/website.com">
allow from all
Options +Indexes
</Directory>

(sev website)
DocumentRoot /var/www/website2.com
ServerName website2.com
ServerAlias *.website2.com, website2.com
<Directory /var/www/website2.com>
allow from all
Options +Indexes
</Directory>

if you need any other information, pm me.

DNS setting is setup like this
https://www.serverpronto.com/kb/page.php?id...NS+Using+Webmin
sanoj96
Fixed this! installed Webmin + Virtualmin.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.