# What file extensions can I host from my website

**URL:** <https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049>\
**Category:** Hosting Support\
**Created:** [February 15, 2020, 10:50am UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049 "2020-02-15T10:50:23Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon12042518](https://forum.infinityfree.com/letter_avatar/anon12042518/32/6_449c533f586939b6e5f246632a46421f.png) [@anon12042518](https://forum.infinityfree.com/u/anon12042518)\
**Post date:** [February 15, 2020, 10:50am UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/1 "2020-02-15T10:50:23Z")

</div>

What file extensions can I upload / host from my website.

I know html/txt works, but what others ?  
Can I change this ?  
I wish to host a series of .pac file (proxy scripts) for testing purposes.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![anon19508339](https://forum.infinityfree.com/letter_avatar/anon19508339/32/6_449c533f586939b6e5f246632a46421f.png) [@anon19508339](https://forum.infinityfree.com/u/anon19508339)\
**Post date:** [February 15, 2020, 12:09pm UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/2 "2020-02-15T12:09:45Z")

</div>

Except Exe file type, other file types are allowed _If they be used as Parts of webpages._  
Which means if they have usage other than Website (like making them available to download or store data of Engines) Then it’s not allowed.

---

<div class="post-metadata">

**Author:** ![anon12042518](https://forum.infinityfree.com/letter_avatar/anon12042518/32/6_449c533f586939b6e5f246632a46421f.png) [@anon12042518](https://forum.infinityfree.com/u/anon12042518)\
**Post date:** [February 15, 2020, 1:43pm UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/3 "2020-02-15T13:43:43Z")

</div>

Thanks for the response. Much appreciated.  
I’ve tested and can host text files (.txt), which can then be pulled down and rendered via the browser  
however the filetype .pac obviously doesn’t,

Can you either suggest an alternative with infinityfree or possibly point to another free hosting provider without this limitation ?

---

<div class="post-metadata">

**Author:** ![anon48211288](https://forum.infinityfree.com/letter_avatar/anon48211288/32/6_449c533f586939b6e5f246632a46421f.png) [@anon48211288](https://forum.infinityfree.com/u/anon48211288)\
**Post date:** [February 15, 2020, 5:18pm UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/4 "2020-02-15T17:18:53Z")

</div>

Why do you need a .pac file?

---

<div class="post-metadata">

**Author:** ![anon12042518](https://forum.infinityfree.com/letter_avatar/anon12042518/32/6_449c533f586939b6e5f246632a46421f.png) [@anon12042518](https://forum.infinityfree.com/u/anon12042518)\
**Post date:** [February 15, 2020, 5:25pm UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/5 "2020-02-15T17:25:48Z")

</div>

I am doing some testing and need to host a pac file

---

<div class="post-metadata">

**Author:** ![anon48211288](https://forum.infinityfree.com/letter_avatar/anon48211288/32/6_449c533f586939b6e5f246632a46421f.png) [@anon48211288](https://forum.infinityfree.com/u/anon48211288)\
**Post date:** [February 15, 2020, 5:43pm UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/6 "2020-02-15T17:43:09Z")

</div>

[https://findproxyforurl.com/common-pac-issues/](https://findproxyforurl.com/common-pac-issues/)  
Link to problems with .pac file

---

<div class="post-metadata">

**Author:** ![anon12042518](https://forum.infinityfree.com/letter_avatar/anon12042518/32/6_449c533f586939b6e5f246632a46421f.png) [@anon12042518](https://forum.infinityfree.com/u/anon12042518)\
**Post date:** [February 15, 2020, 5:59pm UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/7 "2020-02-15T17:59:53Z")

</div>

Thanks. Had seen this.  
My issue is I am performing a proxy migration and need to host an alternate PAC file externally for people to access when Off-LAN network.  
This is only for a short time while our new proxy is migrated.  
Can’t be done any other way (after consultant discussion).

If I can host a PAC file on the internet, I can point specific machines to it for test new proxy internally/externally without messing up existing configuration.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [February 16, 2020, 10:22am UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/8 "2020-02-16T10:22:00Z")

</div>

How should this PAC config actually be retrieved? Is it something accessed through a web browser or a URL which is set somewhere in the network configuration?

(until this topic, I’ve never head of Proxy auto-config)

Please note that we only provide website hosting for free, and have systems in place that make it so that you can only host websites on here. The details of that system can be found here:

[https://infinityfree.net/support/javascript-error-using-api-or-mobile-android-app/](https://infinityfree.net/support/javascript-error-using-api-or-mobile-android-app/)

---

<div class="post-metadata">

**Author:** ![anon12042518](https://forum.infinityfree.com/letter_avatar/anon12042518/32/6_449c533f586939b6e5f246632a46421f.png) [@anon12042518](https://forum.infinityfree.com/u/anon12042518)\
**Post date:** [February 16, 2020, 10:42am UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/9 "2020-02-16T10:42:32Z")

</div>

The proxy autoconfig is a mime application type hosted in a web server that allows an operating system to pull down a javascript file (the PAC) to configure a browser:

The mimetype is **`application/x-ns-proxy-autoconfig`**

> **[Proxy auto-config](https://en.wikipedia.org/wiki/Proxy_auto-config)**
>
> A proxy auto-config (PAC) file defines how web browsers and other user agents can automatically choose the appropriate proxy server (access method) for fetching a given URL.
> A PAC file contains a JavaScript functionFindProxyForURL(url, host). This function returns a string with one or more access method specifications. These specifications cause the user agent to use a particular proxy server or to connect directly.
> Multiple specifications provide a fallback when a proxy fails to respond. The b...

Not to worry. I have a possible alternate solution.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [February 16, 2020, 11:10am UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/10 "2020-02-16T11:10:11Z")

</div>

That does sound like it’s not using a browser to access the file, which means you’re going to run into the browser validation system.

Since it’s just a single, static file which needs to be served, I would personally opt for something like GitHub (either GitHub Pages or just a raw link) or object storage like Amazon S3 to host the file. For a single file which isn’t accessed so frequently, both options are free or nearly free.

---

<div class="post-metadata">

**Author:** ![anon12042518](https://forum.infinityfree.com/letter_avatar/anon12042518/32/6_449c533f586939b6e5f246632a46421f.png) [@anon12042518](https://forum.infinityfree.com/u/anon12042518)\
**Post date:** [February 16, 2020, 2:59pm UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/11 "2020-02-16T14:59:17Z")

</div>

Thank you.  
I’ll look into these options.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [March 17, 2020, 3:06pm UTC](https://forum.infinityfree.com/t/what-file-extensions-can-i-host-from-my-website/26049/12 "2020-03-17T15:06:50Z")

</div>

Closed on March 17, 2020, 3:06pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
