wendowed
October 24th, 2008, 11:02 AM
I AM TRYING TO SETUP A SERVER WITH 4 WEBSITES THAT WILL BE ACCESSIBLE ON THE INTERNET. I HAVE TRIED BUT I AM FACED WITH TWO MAJOR PROBLEMS. I AM VERY NEW TO UBUNTU AND IT WOULD HELP IF WHEN YOU GIVE YOUR ANSWER, ASSUME THAT I KNOW NOTHING ABOUT IT. GIVE THE FULL CODE e.g. sudo apt-get install apache2 INSTEAD OF SAYING INSTALL APACHE2. BE A BIT SPECIFIC PLEASE.
1. IN THE DEFAULT /VAR/WWW/ SITE, I DO NOT HAVE PERMISSION TO EDIT THE DEFAULT PAGE THOUGH AM LOGGED IN AS THE ROOT.
2. I HAVE A PROBLEM WITH HOW TO EDIT THE HTTPD FILE AFTER MAKING A NEW COPY OF THE DEFAULT /VAR/WWW/DEFAULT FOLDER AND CHANGING THE COPY TO /VAR/WWW/MYNEWSITE. WHAT DO I WRITE IN THE httpd.conf FILE TO CONNECT THE SITE TO THE NameVirtualHost *? I think there are a number of folders i need to edit but reading through all this material i find that its written for specialists not starters.
Below is the error message i get.
/etc/init.d/apache2 restart
* Restarting web server apache2 [Fri Oct 24 15:43:04 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Fri Oct 24 15:43:04 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
[Fri Oct 24 15:43:14 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Fri Oct 24 15:43:14 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
[ OK ]
PLEASE HELP. MANY KIND REGARDS.
WENDOWED
1. IN THE DEFAULT /VAR/WWW/ SITE, I DO NOT HAVE PERMISSION TO EDIT THE DEFAULT PAGE THOUGH AM LOGGED IN AS THE ROOT.
2. I HAVE A PROBLEM WITH HOW TO EDIT THE HTTPD FILE AFTER MAKING A NEW COPY OF THE DEFAULT /VAR/WWW/DEFAULT FOLDER AND CHANGING THE COPY TO /VAR/WWW/MYNEWSITE. WHAT DO I WRITE IN THE httpd.conf FILE TO CONNECT THE SITE TO THE NameVirtualHost *? I think there are a number of folders i need to edit but reading through all this material i find that its written for specialists not starters.
Below is the error message i get.
/etc/init.d/apache2 restart
* Restarting web server apache2 [Fri Oct 24 15:43:04 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Fri Oct 24 15:43:04 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
[Fri Oct 24 15:43:14 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Fri Oct 24 15:43:14 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
[ OK ]
PLEASE HELP. MANY KIND REGARDS.
WENDOWED