# Validierung der Domain schlägt fehl

**URL:** <https://forum.shopware.com/t/validierung-der-domain-schlagt-fehl/47285>\
**Category:** Installation/Einstieg\
**Created:** [3. August 2017 um 12:15 UTC](https://forum.shopware.com/t/validierung-der-domain-schlagt-fehl/47285 "2017-08-03T12:15:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Falk](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Falk](https://forum.shopware.com/u/Falk)\
**Post date:** [3. August 2017 um 12:15 UTC](https://forum.shopware.com/t/validierung-der-domain-schlagt-fehl/47285/1 "2017-08-03T12:15:07Z")

</div>

Hallo zusammen,

obwohl es etliche Threads zu dem Thema gibt, ist es mir nicht gelungen die Domain meines Shops (aktuell nicht die endgültige Domain) zu validieren.&nbsp;  
Was allerdings funktioniert ist es über die IP zu validieren, Problem hierbei ist dann nur, dass der Shop als Domain natürlich nicht die IP eingetragen hat.

Auf dem Server läuft Apache2 in Version 2.4.18 unter&nbsp;Ubuntu 16.04.2.

Die Datei sw-domain-hash.html lässt sich über den Browser sowohl über https als auch über http aufrufen.

Da die Validierung über die IP-Adresse funktioniert, liegt der Fehler denke ich in der Konfiguration des vhost, dieser sieht so aus:

ServerName sub.domain.de

&nbsp; &nbsp; &nbsp; &nbsp; ServerAdmin [xxxx@xxxx.de](mailto:xxxx@xxxx.de)  
&nbsp; &nbsp; &nbsp; &nbsp; DocumentRoot /var/www/shopware

# &nbsp; &nbsp; &nbsp; Redirect permanent / [https://sub.domain.de/](https://sub.domain.de/)

AllowOverride All

&nbsp; &nbsp; &nbsp; &nbsp; LogLevel warn  
&nbsp; &nbsp; &nbsp; &nbsp; ErrorLog {APACHE\_LOG\_DIR}/error.log &nbsp; &nbsp; &nbsp; &nbsp; CustomLog {APACHE\_LOG\_DIR}/access.log combined

&nbsp;

&nbsp;

ServerName [sub.domain.de](http://sub.domain.de)  
  
ServerAdmin xxxx@xxxx.de  
  
DocumentRoot /var/www/shopware

AllowOverride All

&nbsp; &nbsp; &nbsp; &nbsp; SSLEngine On

&nbsp; &nbsp; &nbsp; &nbsp;SSLCertificateFile /etc/letsencrypt/live/sub.domain.de/fullchain.pem  
&nbsp; &nbsp; &nbsp; &nbsp;SSLCertificateKeyFile /etc/letsencrypt/live/sub.domain.de/privkey.pem

# Intermediate configuration, tweak to your needs

SSLProtocol &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; all -SSLv2 -SSLv3  
SSLCipherSuite &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA  
SSLHonorCipherOrder &nbsp; &nbsp; on  
SSLCompression &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;off

SSLOptions +StrictRequire

# Add vhost name to log entries:

LogFormat „%h %l %u %t „%r“ %\>s %b „%{Referer}i“ „%{User-agent}i““ vhost\_combined  
LogFormat „%v %h %l %u %t „%r“ %\>s %b“ vhost\_common

&nbsp; &nbsp; &nbsp; &nbsp; LogLevel warn  
&nbsp; &nbsp; &nbsp; &nbsp; ErrorLog {APACHE\_LOG\_DIR}/error.log &nbsp; &nbsp; &nbsp; &nbsp; CustomLog {APACHE\_LOG\_DIR}/access.log combined

&nbsp;

Ich hoffe, dass mir hier geholfen werden kann.

Die Domain der registrierten IP-Adresse zu ändern ist keine Lösung, da es sich wie gesagt noch nicht um die Live-Domain handelt. Sprich ich muss die Domain vor der Liveschaltung einmal ändern.

Danke & Gruß

Falk
