hello support,
OS............W7 Pro 64-bit
Wamp Server installed...........WampServer Version 2.4
Apache ..................Apache 2.4.4
MySQL..............MySQL 5.6.12
PHP .....................PHP 5.4.12
What colour is your WampManager icon? ( the in the system tray ).......Green
i can not put website online.
i am taking the directions from here
[
forum.wampserver.com]
i also use dyndns with name www.good.dyndns-servver.com
1. Create a new folder outside the wamp directory structure.
for example
C:\websites\www
check
2. Create a subfolder in c:\websites for each site you want to create.
for example:
C:\websites\www\good.dyndns-servver.com
C:\websites\www\site2
check
3. Edit the file C:\wamp\bin\apache\apachex.y.z\conf\extra\httpd-vhosts.conf
where x,y and z are the version numbers of apache that you actually have installed.
my httpd-vhosts.conf...........................
# Virtual Hosts
#
# Required modules: mod_log_config
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:[
httpd.apache.org];
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
# Use name-based virtual hosting.
#
NameVirtualHost *:80
## must be first so the the wamp menu page loads when you use just localhost as the domain name
## Also NEVER change the security to anything other than Allow from 127.0.0.1 localhost ::1
## Then a drive by Ip address hack should return a 403 denied access
<VirtualHost *:80>
DocumentRoot "C:/wamp/www"
ServerName localhost
ServerAlias localhost
#This is for Apache 2.4
## Using Apache 2.4 syntax
<Directory "C:/wamp/www">
Require local
## And possibly allow access from you local network
## Check you subnet for the actual values to use here
Require ip 10.0.0
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/websites/www/good.dyndns-server.com"
ServerName good.dyndns-server.com
ServerAlias www.good.dyndns-server.com
Options Indexes FollowSymLinks
## Using Apache 2.4 syntax
<Directory "C:/websites/www/good.dyndns-server.com">
AllowOverride All
Require local
#If you want to allow access from your internal network
# For specific ip addresses add one line per ip address
#Require ip 192.168.0.nnn
# For every ip in the subnet, just use the first 3 numbers of the subnet
#Require ip 192.168.0
# If you want to allow access to everyone
Require all granted
</Directory>
</VirtualHost>
my httpd-vhosts.conf...........................
check
4. Edit your httpd.conf file and search for these lines, they are near the bottom of the file.
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
check
5. While still editing your httpd.conf file search for
5. While still editing your httpd.conf file search for
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
DO NOT CHANGE THESE LINES!
Add the following after the <\Directory> tag to secure your new C:\websites folder.
<Directory "C:/websites/">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
mine looks like this:
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
Allow from localhost
</Directory>
#..................Added
<Directory "C:/websites/">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
check
6.Edit your HOSTS file, this can be found in C:\windows\system32\drivers\etc , the file does not have an extension.
Windows protects this file so you must be an Administrator to be allowed to save changes to this file.
127.0.0.1 good.dyndns-server.com
127.0.0.1 site2.dev
check
7. In order for Apache to pick up these changes you must bounce ( restart ) apache.
Do this by: Wamp manager -> Apache -> Service -> Restart Service
restart dns in windows
>net stop "DNS Client"
>net start "DNS Client"
Note: The quotes are required as there is a space in the services name.
check
i am not 100% on what is totally going on
mydyndns updater is working
does anybody see an error..
thanks
craig