WAMP wrong Physical Path - http

I have first installed my WAMP Server on my personnal PC. It worked fine.
Then I pluged that PC in a network of a company (25 PC in total). I had acces to all there network. And I managed to make it work and accessible to everyone in the company but the WAMP is still on my computer.
To resolve that little problem, they got a Server with Windows Server 2012 installed. So I wanted to install my WAMP + DB, on this server.
So I installed correctly WAMP and MySql but when I go to the url that I put exactly the same on my personal PC, it shows me an error like : HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Like if the WAMP wasn't launched but I'm sure it is launched correctly.
Can this be a firewall issue ? Like an service bloking the port 80 (I guess ?).
Sorry but the network isn't my best subject.
EDIT
I found from where my error comes.
When I go to my url 10.13.48.60:80/my_page.php
In my error message, I see Physical Path C:\inetpub\wwwroot\
but thats wrong, it should just be Physical Path C:\WAMP\www\
How can I change that ?

Related

Host ASP.Net MVC Site

I've created a site using ASP.Net MVC that is meant to be stored on a local machine at my place of work. The intention is to have the site stored on this machine, but then accessible by all the other machines within this building.
I've followed Microsoft's tutorial as well as Code Project's tutorial, but I am not having very much luck. The binding is just the localhost, port 80, with * for the IP address. The URL is localhost/GrantTracker.
I've opened the ports within the firewall, checked the permissions on the directory (which is just within wwwroot), tried having the site take the place of the default IIS site (as Microsoft tutorial has you do) and tried having the site stand on its own with its own port (per Code Projects tutorial).
On the host machine I am receiving the standard "This site can't be reached, localhost refused to connect" which feels like either a port or permissions problem. I must be missing a step, but I can't seem to find what it would be. I am new to hosting sites through IIS so forgive me if I am just missing something basic.
I find it a bit strange too because my project uses Windows Authentication and when the site is first visited it performs that initial check with the user, authenticates, but then throws me the error.
Anyone have any ideas? Thanks in advance.
start simple,
create a simple html page, create an IIS application for it, on port 80.
Check and make sure you can see that page from another computer using the internal IP address of the the host machine so something like:
http:\\192.168.0.3\hostapp\test.html .
You can see the proper URL by running it from IIS, this will give you the entire URL you need, with localhost then just replace localhost with the IP address of the host machine to see it on other machines.
Do this in the original IIS folder so you don't encounter any folder permission issues. If you choose another folder you'll have to give access to the Network Service user ( i think, can't remember now, but there is a specific user that needs access to the folder where the website is deployed )
if you can see the page then deploy a proper website and do the same thing. Make sure the app pool is created correctly and it's up and running, then access it again on other computers and it should work.
Port 80 should be open by default so that should not be an issue.

Access wordpress website on localhost from remote network

I want to show my client the WordPress website on localhost being developed by me (it's still in the beginning stage, not ready to go live yet). This is what I have done so far:
- I have done port forwarding and have tested it (whenever I access my Xampp localhost from the remote network by entering my computer's ip, it opens up the localhost dashboard).
Now this where I'm stuck:
- Whenever, I specify a directory of website (in htdocs) on my remote network's url (like this: mycomputer's ip/folder's name it changes the url to localhost/folder's name and the page doesn't open).
How do I resolve this issue?
Add this line to your wp-config.php might help:
define('WP_HOME','http://your-computer-IP');
define('WP_SITEURL','http://your-computer-IP');
and comment or delete that line when your work from home.
But there's something can be improved. Try to some DDNS services and install their application to your local machine. After installed, you can access your computer from mymachine.ddns.net even you're home or not. So with below setting, you no need to edit anything when you change your work location.
define('WP_HOME','http://mymachine.ddns.net');
define('WP_SITEURL','http://mymachine.ddns.net');

web source directory shows when request is https instead of http

Good Day,
How can I prevent showing the directory of my source code when request is https? I am currently running my files in a local network and I found out the if I access the address using https:\\site.ur; I then get a warning on chrome (if I proceed Ill be redirected to its source directory) If I used http:\\site.url its running I am running on apache and windows 7 server.. thanks for the help

access xampp/htdocs directory from remote computer

I have installed a xampp server in a computer A.
now i want to access this xampp server from other computer B.i typed the ip address of the computer A ,where xampp server is installed , in the browser of computer B. i landed to the **http://XX.XX.XX.XX/xampp** page. now i want to access the htdocs directory but i am not able to access it.i used this path.
http://XX.XX.XX.XX/htdocs
and
http://XX.XX.XX.XX/xampp/htdocs
I am getting error
Object not found
Somebody please explain what i am doing wrong?
First of all you have to see the permitions of the xampp (they are blocked by default and you can see it at php.ini if i recall well) and the firewall of the computer B. After that, you should see the port of the xampp in the computer B and you should see the localhost of that computer.
If you are doing that in differents places, you should see if your operator allow you to see a ip remotely. In some countries are blocked too.

Available updates not found in Drupal under WAMP environment

While our hosted websites work fine, I've had trouble with the "Available updates" page in Drupal when on a local PC under a WAMP environment. No modules show. If I use "Check manually", I get the following error:
Unable to fetch any information about available new releases and updates.
I'm able to browse drupal.org from the same PC. The PC is on a network proxy server.
Any ideas on how to get this working so that we can test new/updated modules locally on the network PC? I'm not quite sure if it's the network proxy, Drupal install, WAMP environment, or some other firewall issue.
Thanks.
I had the same problem when testing under WAMP,I found that it was a problem with our network proxy (which required authentication). As Drupal was making the update request 'in the background' the authentication wasn't being fulfilled and the proxy was denying access. In the end we had to reconfigure the network proxy

Resources