How to make WAMPServer accessible on the internet
Posted by: jorjie (130.105.41.---)
Date: January 24, 2018 09:39AM

I've been reading in a different website with regards to WAMP 3.1.0 on how to make it accessible to the web
any suggestion would do.

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: Otomatic (Moderator)
Date: January 24, 2018 11:02AM

Hi,

The need for Virtual Host

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.2.2/7.1.14/7.0.27/5.6.33 - MySQL 5.7.21 - MariaDB 10.2.12
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.2.2/7.1.14/7.0.27/5.6.33 - MySQL 5.7.21 - MariaDB 10.2.12
PhPMyAdmin 4.7.7 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: jorjie (130.105.41.---)
Date: January 25, 2018 02:45AM

Thank you for the response, what if I only wanted the server to be accessible on the internet with a computer or a mobile device, do I still need to have a virtual host?

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: RiggsFolly (Moderator)
Date: January 25, 2018 06:14PM

You should ALWAYS have a Virtual Host. One for each of the sites you want to develop

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.1.1 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.7> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: jorjie (182.18.224.---)
Date: February 17, 2018 04:44AM

Yes I've already created a virtual host, but haven't tested it yet if I could connect thru internet access using mobile device, anyway I have a another question, when I try use the url address I've created in the browser it does link to the page but it seems it's kinda un-formatted not like to real one, any thoughts on this? It's a PHP file.

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: Otomatic (Moderator)
Date: February 17, 2018 09:16AM

Hi,

Quote
jorjie
when I try use the url address I've created in the browser it does link to the page but it seems it's kinda un-formatted not like to real one, any thoughts on this? It's a PHP file.
We are neither diviners nor omniscient.
Real and concrete examples would be welcome.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.2.2/7.1.14/7.0.27/5.6.33 - MySQL 5.7.21 - MariaDB 10.2.12
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.2.2/7.1.14/7.0.27/5.6.33 - MySQL 5.7.21 - MariaDB 10.2.12
PhPMyAdmin 4.7.7 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: jorjie (182.18.224.---)
Date: February 18, 2018 03:43PM

Sorry but the server is in the office I'll try to screen capture once I'm in the office, what I mean is when I try to run my project in the localhost the everything in the page are all in place banner/heading, alignment, font style, etc. are there in the right where they are, but when I try to run on my created virtual host everything is completely un-formatted font, font style, alignment but content is still there is just un-formatted.



Edited 1 time(s). Last edit at 02/18/2018 04:13PM by jorjie.

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: Otomatic (Moderator)
Date: February 18, 2018 04:38PM

Hi,

Read The need for Virtual Host carefully, especially the beginning, and you will understand why using 'http://localhost/mysite' is the wrong method.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.2.2/7.1.14/7.0.27/5.6.33 - MySQL 5.7.21 - MariaDB 10.2.12
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.2.2/7.1.14/7.0.27/5.6.33 - MySQL 5.7.21 - MariaDB 10.2.12
PhPMyAdmin 4.7.7 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: jorjie (130.105.41.---)
Date: February 19, 2018 04:23AM

This is the link for the screen shot of the page

[i981.photobucket.com] - localhost

[i981.photobucket.com] - virtual host

Options: ReplyQuote
Re: How to make WAMPServer accessible on the internet
Posted by: RiggsFolly (Moderator)
Date: February 19, 2018 10:25AM

So you have an issue with your src addresses for your CSS i would assume.

This is primarily a coding issue, look at the urls used on that page and work out what is wrong

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.1.1 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.7> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote


Sorry, only registered users may post in this forum.