Hi,
To avoid problems with your local sites and links on documents, you must use the VirtualHosts, as in a web host:
The need for Virtual HostThen, in the pages of your site, you should only use relative links to the root of your site and avoid absolute links.
Sometimes, with the "include" files, we not know exactly how should be written the link. In this case, to be sure from the root of the site, we may use the predefined variable PHP: $_SERVER ['DOCUMENT_ROOT']
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons