Page 1 of 1

Setting up with a domain name

PostPosted: 17. April 2012 12:23
by jayuk20
Not sure if I have done things correct but I wanted to use my own domain name which would be live on the net.

I opened up vhosts and this is my settings:

Code: Select all
NameVirtualHost *:80

<VirtualHost *:80>
    ##ServerAdmin postmaster@mydomain.com
    ##DocumentRoot "/xampp/htdocs/mydomain.com"
    ##ServerName www.mydomain.com
    ##ServerAlias mydomain.com
    ##ErrorLog "logs/www.mydomain.com-error.log"
    ##CustomLog "logs/www.mydomain.com-access.log" combined
</VirtualHost>


In http.conf I have

Code: Select all
ServerName http://www.mydomain.com:80


I am also using No-IP Plus and use their name servers which is pointing to my WAN IP but I just get a "cannot connect to website" error.

I can also ping my domain and get a reply and DNS is active.

Re: Setting up with a domain name

PostPosted: 17. April 2012 19:31
by Altrea
Hi jayuk20,

What did you do to harden your computer, the XAMPP components Apache, Mysql, and PHP to protect against internet attacks?
XAMPP is not made or supported for such environments. It is configured to help local developers to work efficient, not for security.

best wishes,
Altrea