Trying to make website live
Posted by: staarshadow (---.hsd1.co.comcast.net)
Date: July 07, 2018 12:48AM

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!

Options: ReplyQuote
Re: Trying to make website live
Posted by: RiggsFolly (Moderator)
Date: July 08, 2018 01:14AM

Did you Port Forward your Router so that external traffic can get into your network?

Small note: This can be dangerous if you dont know what you are doing

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Trying to make website live
Posted by: staarshadow (---.hsd1.co.comcast.net)
Date: July 08, 2018 06:05PM

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.

Options: ReplyQuote
Re: Trying to make website live
Posted by: RiggsFolly (Moderator)
Date: July 08, 2018 07:04PM

Hi

When I ping your site domain name I get sent to a namecheap page.

I would guess you have not amended the DNS to point to your WAN ip address

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Trying to make website live
Posted by: staarshadow (---.hsd1.co.comcast.net)
Date: July 08, 2018 07:30PM

How do I do that? Is that something done through namecheap?

Options: ReplyQuote
Re: Trying to make website live
Posted by: RiggsFolly (Moderator)
Date: July 09, 2018 02:51AM

Yes

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.