Monday, August 13, 2018

How to store images on hosting server and access them?

Domain name is always linked with some hosting where you can store your stuff.
In normal scenario if somebody is deploying their application on any hosting server then no body wants to keep images into application.
So here is solution for that
1) create folder where you want to store your files.
2) create subdomain by using cpanel provided by your hosting provider
3)link that subdomain to the folder whic you have created for storing files.
4)store files and access them easily
Eg.folder name:img
File name:test.jpeg
Subdomain :subdomain.xyz.com
Then for accessing image just type below url in browser
Subdomain.xyz.com/img/test.jpeg

No comments:

Post a Comment

How to check whether operating system is 64 bit or 32bit?

What is 32 and 64 bit operating system? The terms 32-bit and 64-bit refer to the way a computer's processor that is CPU, handles info...