# Try to install ODK central on VPS

**URL:** <https://forum.getodk.org/t/try-to-install-odk-central-on-vps/34521>\
**Category:** Support\
**Created:** [July 30, 2021, 8:07am UTC](https://forum.getodk.org/t/try-to-install-odk-central-on-vps/34521 "2021-07-30T08:07:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjeev\_Kumar1](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sanjeev_kumar1/32/16008_2.png) [@Sanjeev\_Kumar1](https://forum.getodk.org/u/Sanjeev_Kumar1)\
**Post date:** [July 30, 2021, 8:07am UTC](https://forum.getodk.org/t/try-to-install-odk-central-on-vps/34521/1 "2021-07-30T08:07:28Z")

</div>

**1. What is the problem? Be very detailed.**  
I have godaddy VPS in which many site are already live. I try to install ODK central on this VPS. But I am facing issue regarding ports and domain. what should be the suitable .env file, docker-compose.yml, and any other file configuration for this? Should I have to work on docker configuration?

**2. What app or server are you using and on what device and operating system? Include version numbers.**  
Godaddy VPS having Centos operating system  
**3. What you have you tried to fix the problem?**  
I tried to change port in .env file and docker-compose.yml file. I changed to port 80 to 81 and 443 to 444  
**4. What steps can we take to reproduce the problem?**  
try follow steps of docs "Installing elsewhere" section of "Setting Up ODK Central"  
**5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.**

 ![Screenshot from 2021-07-29 09-39-55](https://getodk.b-cdn.net/uploads/default/original/3X/5/1/51abea71b86185fac1372c9ca98b0b90545e90eb.png)

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [July 31, 2021, 6:02pm UTC](https://forum.getodk.org/t/try-to-install-odk-central-on-vps/34521/2 "2021-07-31T18:02:28Z")

</div>

Central runs on ports 80/443 and that’s conflicting with your other services.

If you'd like to run it on other ports, you'll need to change the ports you'd like to use in `.env` (and not in `docker-compose.yml`). And once you change those ports, you'll need to change your SSL\_TYPE to something besides `letsencrypt` because Let's Encrypt requires port 80.

If you have your own cert, use the `customssl` type and follow the instructions at [https://docs.getodk.org/central-install-digital-ocean/#using-a-custom-ssl-certificate](https://docs.getodk.org/central-install-digital-ocean/#using-a-custom-ssl-certificate). If you don't have your own cert, you'll need to use the `upstream` type and set up an SSL-enabled upstream provider (e.g., a load balancer or a reverse proxy) that routes traffic to ports that Central is running on.

---

<div class="post-metadata">

**Author:** ![Sanjeev\_Kumar1](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sanjeev_kumar1/32/16008_2.png) [@Sanjeev\_Kumar1](https://forum.getodk.org/u/Sanjeev_Kumar1)\
**Post date:** [August 6, 2021, 10:21am UTC](https://forum.getodk.org/t/try-to-install-odk-central-on-vps/34521/3 "2021-08-06T10:21:24Z")

</div>

I used upstream option and install it on port 81. It installed successfully. When I am uploading a .xlsx form in any project successfully, I am not able preview and download on web and mobile as well. On web preview error is "Request to [https://xyz.xyz.com/v1/projects/3/formList?formID=abcd](https://xyz.xyz.com/v1/projects/3/formList?formID=abcd) failed" and on odk collect "xyz (ID: xyz)-Failure". Can you please suggest for this it will be very helpful...

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [August 6, 2021, 12:38pm UTC](https://forum.getodk.org/t/try-to-install-odk-central-on-vps/34521/4 "2021-08-06T12:38:28Z")

</div>

What are you using as your SSL-enabled upstream provider (e.g., a load balancer or a reverse proxy) that routes traffic to ports that Central is running on?

---

<div class="post-metadata">

**Author:** ![Sanjeev\_Kumar1](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sanjeev_kumar1/32/16008_2.png) [@Sanjeev\_Kumar1](https://forum.getodk.org/u/Sanjeev_Kumar1)\
**Post date:** [August 7, 2021, 5:11am UTC](https://forum.getodk.org/t/try-to-install-odk-central-on-vps/34521/5 "2021-08-07T05:11:24Z")

</div>

Thanks for reply. I did not used any SSL. It is running without SSL and I am also don't want use any ssl.
