Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Can't make live/publish my server on the web (2 replies)

$
0
0
Hello , users of WAMP , i just want to publish a site and I cant quite succeed to do so , i follow many tutorials along the way and still cant sort it out , I believe those are old and dont work anymore.
My concern is , that , I have added a virtual hosts , it appers right after i click on the wamp (left mouse click) , and it shows the server , as is working with a internet shortcut icon , but when i check it on other devices , it gaves me the error that it cannnot find the IP of the server, I have also inserted in my /drivers/etc/hosts/ file the ip 127.0.0.1 and the domain , ( with the localhost as main site of the file ) , and secondly my site right before localhost , but doenst work out , the error that appers on the server when i connect is : ERR_NAME_NOT_RESOLVED , and also I inserted into /conf/extra the file :


ServerAdmin mail@yourdomain.com
DocumentRoot "c:\wamp\www"
ServerName mysite.local
ErrorLog "logs/yourdomain.com.log"
CustomLog "logs/yourdomain.com-access.log" common

(yourdomain is my site)
Do you guys have any tips, new tips of how i can solve this and help me to publish my server on-line?
It will be greatly appreciated your answers , Thanks.



the httpd.vhosts.conf file


# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www/sitecontent"
<Directory "${INSTALL_DIR}/www/sitecontent/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>



This is just the default part (i also changed the site name, created virtual host as said above , just informative purpose(i also tried with document and directory and changed to /www/myfolder, and /www/myfolder/ and still doesnt work, Do i have to change INSTALL DIR? Or is default?

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>