Based on this http://www.servermom.com/how-to-add-new-site-into-your-apache-based-centos-server/454/ tutorial installed Apache-based CentOS Server
I use putty.exe as editor
vi /etc/httpd/conf/httpd.conf at very bottom modified to
<VirtualHost *:80>
ServerAdmin
[email protected]
DocumentRoot /var/www/fikitipis.com/public_html
ServerName www.fikitipis.com
ServerAlias fikitipis.com
ErrorLog /var/www/fikitipis.com/error.log
CustomLog /var/www/fikitipis.com/requests.log common
</VirtualHost>
So expect that
index is at /var/www/fikitipis.com/public_html
When in browser type ip address of server, see Apache 2 Test Page
powered by CentOS and so on You may now add content to the directory /var/www/html/
Then
[root@vps ~]# ls /var/www/
see
cgi-bin domain.com error fikitipis.com html icons
Checking content of directories
ls /var/www/domain.com/public_html, ls /var/www/fikitipis.com/public_html, /var/www/html/ are empty
Where is
index.html?
Did touch /var/www/fikitipis.com/public_html/index1.html then vi /var/www/fikitipis.com/public_html/index1.html, typed a, then wrote some text in file, then Escape and shift+zz. And in browser http://111.111.11.111/index1.html and see what I had wrote. So until now seems that all works