I started making a wordpress website a few months ago, am now trying to release it to the world, hosting from my local machine. Here is the current info:
Windows 7 64bit
WAMP 3.1.0 64bit
phpMyAdmin 4.7.4
Apache 2.4.27
PHP 5.6.31
MySQL 5.7.19
Wamp icon is green
Hosts file entry:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 NorthernStaar.com
::1 NorthernStaar.com
Yes I can access the localhost page
Yes I can access phpmyadmin
httpd-vhosts.conf:
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName NorthernStaar.com
DocumentRoot "c:/wamp64/www/wordpress"
<Directory "c:/wamp64/www/wordpress/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
--------------------------------------------------------------------------------------
So as you can see, I have a VirtualHost for the site. I own the domain northernstaar.com, I ordered it through namecheap. I can go to northernstaar.com on my local machine and I see my website. If I go there from any other machine I don't see it. I feel like I'm missing the connection from the public domain to my local machine, but I'm not sure exactly how to set that up. I gave my local machine a static ip address. I *think* I did the port forwarding correctly in my router menu - ServiceType TCP/UDP, Server IP address = my local machine's static ip, Start port/end port 80. Do I need to use namecheap to point the domain name at my local machine? What am I missing? Thank you!
Windows 7 64bit
WAMP 3.1.0 64bit
phpMyAdmin 4.7.4
Apache 2.4.27
PHP 5.6.31
MySQL 5.7.19
Wamp icon is green
Hosts file entry:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 NorthernStaar.com
::1 NorthernStaar.com
Yes I can access the localhost page
Yes I can access phpmyadmin
httpd-vhosts.conf:
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName NorthernStaar.com
DocumentRoot "c:/wamp64/www/wordpress"
<Directory "c:/wamp64/www/wordpress/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
--------------------------------------------------------------------------------------
So as you can see, I have a VirtualHost for the site. I own the domain northernstaar.com, I ordered it through namecheap. I can go to northernstaar.com on my local machine and I see my website. If I go there from any other machine I don't see it. I feel like I'm missing the connection from the public domain to my local machine, but I'm not sure exactly how to set that up. I gave my local machine a static ip address. I *think* I did the port forwarding correctly in my router menu - ServiceType TCP/UDP, Server IP address = my local machine's static ip, Start port/end port 80. Do I need to use namecheap to point the domain name at my local machine? What am I missing? Thank you!