Remote access server (xamp) using http - php

I have remote access to another computer, and I can access that computer using its ip address and xamp server is also installed on that remote machine.
Now what I want is to access the file placed in that wamp server such as .php file from my own computer, such as using http://something/file.php
How can I do this?

Try the ip of the remote machine plus the folder of the project which is located under htdocs folders on xampp.
For example,
192.168.1.1/folderName
I'm not sure that is going to help you but why no try!

Related

How do I upload a file in a remote location to my localhost website?

I have a localhost port forwarded SSH tunnel between an Azure Linux VM and Localhost PC using PUTTY. So when I localhost:8080 on my windows PC, I see my static website hosted on the AzureVM.
I need to upload some remote files to this website. At the moment when I click the file upload on the localhost website, it searches for files on my local windows pc.
Is there any way I could make it look for files on another server(Or the same azure VM) or maybe Azure Blob storage?
Thanks!
Ok to upload through putty is a tedious process as you need code running on the linux machine to do it .
We generally use putty to control the AWS machine and run commands directly on it and use another FTP program like File Zilla , WinSPC or somthing similar for uploading
To upload a program directly with putty you have to write the protocol yourself or use a putty add-ons but its a pain to work with .
here some choices
https://helpdeskgeek.com/free-tools-review/the-best-ftp-tools-to-transfer-files-to-your-website-domain/
If you really want to go through the headaches of using putty to transfer files use this link as a start
https://www.hostknox.com/tutorials/ssh/putty/file-transfer

Which folder should I transfer when deploying xampp to cloud with FTP?

This is my first time deploying xampp server to cloud. I followed this tutorial and everything is straight forward. But when it comes which folder to transfer I found it unclear. I transferred my xampp folder(to the htdocs folder in the remote cloud) containing the whole server files but when I try to access it through the internet the .php files do not exist.
The local project you have on your machine should be serving from htdocs directory on your machine. You have to sync that with the directory online. Follow the steps:
Login in the server using FTP and go to /opt/bitnami/apache2/htdocs/
Copy contents of this remote folder into your machine as a backup
Now open your local XAMPP folder. On windows its c:xampp/htdocs on linux /home/user/www
Copy all the files in htdocs directory from your local machine to server
This should do it.

Php - upload webservice php to server

I am android developer , I have no experience with php but I have requirement to upload web site to linux server , I am using WinSCP to upload web site .
here is screenshot for server side , in which folder should I upload it , and how to access it to using it as web service in my mobile
UPDATE
the site Amazon aws hosting
That depends where the web server is configured to serve files from. Common locations are a public_html or www or htdocs directory in your home folder (if you are using a shared server), or in /var/www or /srv/www for dedicated servers.
Again, accessing it depends on how the web server is configured. It might just use an IP address, or it may have a domain name pointing at it. Whomever set up the server will have this information.

XAMPP Security and Remote Access

Hello I am running tests on my XAMPP server.
Let's say we have the following scenario :-
My Laptop is running the server in a small Local Network.
And I am accessing my Server with my personal PC.
Is it possible to upload files to htdocs from my Personal PC to the Server Laptop?
If we assume that all security settings are turned off. Basically I need to remotely upload files to HTDOCS so I can use them from the server!
As far as I remember doesnt XAMPP come with a FileZilla server as part of the install?
So configure the fileZilla server on the laptop, create a userid and set that userid up to be able to see the htdocs folder.
Then install FileZilla client on the desktop PC. You can then use FTP ( FileZilla ) in just the same way you would if the site was running on a real hosted server.
FileZilla Server setup instuctions
No.
Web servers do not, by default, run any services that write file uploads to a directory on the server.
You'll need to run some kind of suitable service such as SFTP, Windows File & Print Sharing, or a web based file uploader script.

Sharing files between PC and remote web server via FTP

This may have been asked before, but I could not find the answer.
I am looking to share a folder/files on my desktop/local machine with a specific folder/files on my web server, similar to box.net.
In this folder:
I can give another person access to this remote folder and we can
share these files between us.
All the files will get automatically sent to the server when they are saved on the local machine.
Both myself and the user can see the files on the remote server.
I could do this manually with FTP, but I only want specific remote folders and to have this automated.
Thanks in advance.
You can mount a Remote Folder as local using SSH on Linux ...
Both server & local pc must using linux OS ....
This is a great tutorial ...
http://www.howtogeek.com/howto/ubuntu/how-to-mount-a-remote-folder-using-ssh-on-ubuntu
Hope this to help you

Categories