Jump to content

So we have a website host, but due to limitations we can't put images on their "server" so we need to hotlink them from another source. Ex:

<img src="WEBSOURCE://image.jpg">

We have a seperate pc that I would like to host the images on. 

 

What software could I use?

 

The PC is running windows 7

Tech enthusiast and CS Student

 

 

 

 

 

Link to comment
https://linustechtips.com/topic/741687-host-images/
Share on other sites

Link to post
Share on other sites

44 minutes ago, CmzPlusHardware said:

So we have a website host, but due to limitations we can't put images on their "server" so we need to hotlink them from another source. Ex:


<img src="WEBSOURCE://image.jpg">

We have a seperate pc that I would like to host the images on. 

 

What software could I use?

 

The PC is running windows 7

You need a webserver, I would recommend NGINX.

You should probably run it of a port other than 80 or 443 (SSL) as your ISP may block them.

If your site has SSL, I would suggest an SSL Port.

You might need to port forward the port.

Find your external IP (I use this tool on my website), If it is static, set up a subdomain with A record (IPv4) or AAAA record (IPv6) (use both if possible), if it is dynamic, you can use a service like NoIP DDNS.

Then use the subdomain or the free dynamic subdomain to link to your images.

Link to comment
https://linustechtips.com/topic/741687-host-images/#findComment-9402080
Share on other sites

Link to post
Share on other sites

2 minutes ago, ssfdre38 said:

really any HTTPd with ssl should be fine but it will have some latency as it is pulling from another source 

If the image and main website location are close together, the latency would be similar as if they were on the main website.

Link to comment
https://linustechtips.com/topic/741687-host-images/#findComment-9402118
Share on other sites

Link to post
Share on other sites

24 minutes ago, nick2017 said:

If the image and main website location are close together, the latency would be similar as if they were on the main website.

yea but he is hosting from a web host and then pulling images from his house so there will be some latency but also he needs to read the TOS of that web host cause i think if he is just hosting certian images that they dont allow then his website can get taken down overall even if he is hosting it somewhere else cause it still will violate the TOS

Link to comment
https://linustechtips.com/topic/741687-host-images/#findComment-9402214
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×