# Website gives 503 error when VPS is restarted

**URL:** <https://forum.virtualmin.com/t/website-gives-503-error-when-vps-is-restarted/118385>\
**Category:** Help! (Home for newbies)\
**Created:** [December 29, 2022, 9:54pm UTC](https://forum.virtualmin.com/t/website-gives-503-error-when-vps-is-restarted/118385 "2022-12-29T21:54:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tpnsolutions](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/tpnsolutions/32/69_2.png) [@tpnsolutions](https://forum.virtualmin.com/u/tpnsolutions)\
**Post date:** [December 30, 2022, 12:19am UTC](https://forum.virtualmin.com/t/website-gives-503-error-when-vps-is-restarted/118385/8 "2022-12-30T00:19:40Z")

</div>

@rtyuab,

Are you running multiple versions of PHP?

If so, it might be a different version of PHP-FPM that you need to restart.

You also might want to change the connection mode from “socket” to “tcp port”. On a few of our older servers we found the “tcp port” method was a bit more stable.

System Settings \> Server Templates \> Default Settings \> PHP Options

\*\*\* I’m not sure if this change will address existing domains, or only new ones. \*\*\*

---

_[View the full topic](https://forum.virtualmin.com/t/website-gives-503-error-when-vps-is-restarted/118385)._
