Closed Mouris1 closed 6 years ago
xampp\apache\conf\extra\httpd-vhosts.conf Add the following lines NameVirtualHost <VirtualHost *> DocumentRoot "I:/Dropbox/Dropbox/xampp/htdocs" ServerName localhost <\/VirtualHost> <VirtualHost \> ServerName www.myspotter.com ServerAlias myspotter.com DocumentRoot "I:/Dropbox/Dropbox/xampp/htdocs/spotter" <\/VirtualHost>
xampp\apache\conf\extra\httpd-ssl.conf
<VirtualHost _default_:443>
DocumentRoot "I:/Dropbox/Dropbox/xampp/htdocs/spotter"
ServerName www.myspotter.com:443
ServerAlias myspotter.com:443
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
<\/VirtualHost>
I did that what next
do i have to change I:/Dropbox/Dropbox/xampp/htdocs/spotter to the location on my computer
Today I had a sick leave, so the progress is faster. Tomorrow it will not move as fast as today. :)
ok not a problem thanks
i can't access the myspotter.com
Have you checked hosts file? C:\Windows\System32\drivers\etc