Quote:
Originally Posted by druuna
|
That was great tutorial and easy one too.. Anyways thnaks a lot for the link and also please continue working this way.
And when i open the page that i hosted 'suppose "www.diwas.com" ' , directory shows and i have to again click in my index.html to get what i wanted. why is that so?
My detail configuration are:-
i am running centos 6.3 32bit in vmware
/etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.13.134
www.diwas.com diwas.com
/etc/httpd/conf/httpd.conf
VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key
<Directory /var/www/html/apachetest/>
AllowOverride All
</Directory>
ServerAdmin
pradhan.diwas@gmail.com
DocumentRoot /var/www/html/apachetest
ServerName
www.diwas.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
and my index.html is inside /var/www/html/apachetest
ca.key
ca.csr
ca.crt
are created in the same place as mentioned inside /etc/.......
please help and also https works fine but only i need to know
Cant i type
www.diwas.com to achieve
https://www.diwas.com rather than always typing
https://www.diwas.com
please help!!!!!!!!!!!!!