-
AuthorPosts
-
August 31, 2015 at 10:46 am #374573
Hi,
I installed WordPress & X Theme with XAMPP on my local Computer.
Now I tried the poduct validation and get the error “Could not establish connection.”
For generating the API Key I used for the URL my local IP 127.0.0.1I found your topic:
localhosts do not work for validating your theme you will need to create a vhost (virtual host) on your computer and validate that vhost domain. You can find an article explaining everything in detail here: http://sawmac.com/xampp/virtualhosts/
But the URL from sawmac.com is not working.
So what to do now?August 31, 2015 at 1:09 pm #374709Hi there,
Thanks for writing in! Note that 127.0.0.1 is just the alias of localhost. You can try validating http://localhost. Also the virtual host should work. Would you please clarify what error you got?
However it’s better if you can use a staging domain on your server.
Thanks
August 31, 2015 at 1:27 pm #374727validating http://localhost is not working
I got the following error:
Could not establish connection. Please ensure your firewall is not blocking requests to theme.coAugust 31, 2015 at 3:48 pm #374809I want to have my virtual host under gon/
I tried to do the following:
In hosts.txt I added the following 2 domains
127.0.0.1 localhost
127.0.0.1 gonAnd in the httpd-vhosts.conf fle I added the following code:
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs" ServerName localhost </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/gon" ServerName gon <Directory "C:/xampp/htdocs/gon"> Options Indexes FollowSymLinks ExecCGI Includes Order allow,deny Allow from all </Directory> </VirtualHost>
I can open the adress localhost at the browser. It redirects to http://localhost/xampp/
But I can“t open gon/ in the browser. When I try it opens google with the searchstring gon and not my index.html under the folder C:/xampp/htdocs/gon
What did I do wrong?
August 31, 2015 at 8:50 pm #375014 -
AuthorPosts