With Wamp
WampDeveloper is configured, by default, to pick up and answer all
requests it receives (access to websites is not blocked)... But these
requests have to get to WampDeveloper first.
If a website works locally but not remotely, the requests are not reaching WampDeveloper's Apache Service.
When a request comes in to the system that WampDeveloper is running
on, WampDeveloper will check the "host header" (specifies the domain
name) of the HTTP request and cross-reference it to the websites it
contains (via the website's domain name and aliases data). When there is
a match, WampDeveloper returns that specific website. When there is no
match, WampDeveloper returns the "DefaultWebsite"...
So as long as the request reaches the server, or more specifically the WampDeveloper's running Apache Service, something (a website) will be returned.
Simply add a website using a Primary Domain Name such as: www.example.com and you will be able to access URL http://www.example.com/ in your browser. No other steps
If a website works locally but not remotely, the requests are not reaching WampDeveloper's Apache Service.
So as long as the request reaches the server, or more specifically the WampDeveloper's running Apache Service, something (a website) will be returned.
Local Development
To develop and test a website locally you can do so using a non-registered (made up, fake) domain name.Simply add a website using a Primary Domain Name such as: www.example.com and you will be able to access URL http://www.example.com/ in your browser. No other steps
