Xampp und DynDNS Konfiguration

Xampp
Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: array_key_exists(): The first argument should be either a string or an integer in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 25

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: array_key_exists(): The first argument should be either a string or an integer in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 25

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: array_key_exists(): The first argument should be either a string or an integer in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 25

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: array_key_exists(): The first argument should be either a string or an integer in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 25

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: array_key_exists(): The first argument should be either a string or an integer in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 25

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: mysql_real_escape_string(): A link to the server could not be established in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 24

Warning: array_key_exists(): The first argument should be either a string or an integer in /www/htdocs/w0065eb6/03--blog/wp-content/plugins/html5form/html5form.php on line 25

DynDNS ermöglicht es über eine DynDNS Domain, auf eine sich ständig wechselnde IP-Adresse zuzugreifen. Das wird z.B. dann benötigt, wenn man auf seinen WebServer zu Hause zugreifen möchte. So muss man nicht jedes Mal erst seine IP-Adresse heraussuchen, sondern kann gleich über die DynDNS Domain darauf zugreifen. Domain Namen lassen dich auch leichter merken als IP-Adressen, da die DynDNS Domain immer gleich bleibt und nicht wie die Provider IP sich ständig ändert.

Um mit dyndns bequem zu Hause auf den eigenen Webserver zugreifen zu können, muß man

  1. xampp installieren
  2. dyndns Account erstellen, falls nicht schon vorhanden
  3. dyndns updater installieren
  4. dann bearbeiten wir die vhost datei von xampp

XAMPP Vhost Datei

c:\apache\conf\extra\httpd-vhosts.conf

Copy & Paste möglich

NameVirtualHost *:80

<VirtualHost *:80>
    ServerName Testblog.blogdns.net    
    ServerAlias www.Testblog.blogdns.net   
    ServerAdmin webmaster@localhost   
    DocumentRoot c:/xampp/htdocs/Testblog   
    <Directory "c:/xampp/htdocs/Testblog">
        AllowOverride All
        Options IncludesNoExec
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerName testcms.dyndns.org
    ServerAlias www.testcms.dyndns.org
    ServerAdmin webmaster@localhost
    DocumentRoot c:/xampp/htdocs/Testcms   
    <Directory "c:/xampp/htdocs/Testcms">
        AllowOverride All
        Options IncludesNoExec
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerName fotoalbum.dyndns.org
    ServerAlias www.fotoalbum.dyndns.org
    ServerAdmin webmaster@localhost
    DocumentRoot c:/xampp/htdocs/Fotoalbum   
    <Directory "c:/xampp/htdocs/Fotoalbum">
        AllowOverride All
        Options IncludesNoExec
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

Jetzt speichert Ihr eure vhost Datei und startet den XAMPP-Apache Beziehungsweise neustarten. Jetzt sollten eure DynDNS Domains auf die entsprechenden Verzeichnisse weitergeleitet werden. Bitte denkt daran das das nur Beispielnamen sind, die ihr durch eure ersetzen solltet.


Kommentare und Trackbacks sind derzeit nicht erlaubt.

Comments are closed.