By djpiemo
Hello, and i’m sorry to ask this simple and obvious question, but I don’t know how to proceed.
I developed a simple application that parse stuff on different websites and generate a json file. Now, this file is now on the my droplet. How can i open that file using a normal http connection? ( i mean, how can i view that file on my broswer for example? )
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi!
You need to install a webserver like Apache or Nginx. You can install Apache with:
sudo apt-get install apache2
Then have your app generate the file in the directory /var/www/html It will now be available at http://your.ip.address/file.json
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.