{"id":648,"date":"2023-07-13T03:36:33","date_gmt":"2023-07-13T03:36:33","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2023\/07\/13\/8122780-how-to-use-the-plex-vps-template-at-hostinger\/"},"modified":"2026-03-16T12:12:02","modified_gmt":"2026-03-16T12:12:02","slug":"8122780-how-to-use-the-plex-vps-template-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/8122780-how-to-use-the-plex-vps-template-at-hostinger\/","title":{"rendered":"How to Use the Plex VPS Template at Hostinger"},"content":{"rendered":"<p class=\"no-margin\"><b><a href=\"https:\/\/www.plex.tv\/media-server-downloads\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Plex Media Server<\/a><\/b> is free software that allows users to create a client-server for movies, television shows, and music. Free <b>Plex<\/b> accounts can share personal media libraries among a user&rsquo;s own collection of devices or with friends. <b>Plex Media Server<\/b> organizes movie and television content, including posters, plot summaries, cast and crew lists, technical details, critical reviews, and subtitles. It is also capable of transcoding files if the <b><a href=\"https:\/\/en.wikipedia.org\/wiki\/Codec\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">codec<\/a><\/b> is incompatible with the device playing the media.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">In <b>Hostinger<\/b>, we have <b><a href=\"\/support\/1583571-what-are-the-available-operating-systems-for-vps#h_ea21916da6\" target=\"_blank\" class=\"intercom-content-link\">Ubuntu 24.04 VPS template<\/a><\/b>, which comes with a pre-installed <b>Plex Media Server<\/b>. However, before you can connect it to your Plex account, there are two steps you must take &#128071; <\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">If you don&rsquo;t have a VPS yet, consider purchasing one of our <b><a href=\"https:\/\/www.hostinger.com\/vps\/plex-hosting\" target=\"_blank\" class=\"intercom-content-link\">Plex VPS hosting plans<\/a><\/b> to proceed. &#128640;<\/p>\n<\/div><p class=\"no-margin\">\n<\/p><h2 id=\"h_4ddaec96ba\">Step 1 &ndash; Connect Plex Media Server to Your Plex.tv Account<\/h2><p class=\"no-margin\">Create an SSH tunnel from your computer to VPS by entering the following command in your computer <b>Terminal<\/b>:<\/p><p class=\"no-margin\">\n<\/p><pre><code>ssh root@vps-ip -L 8888:localhost:32400<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Make sure to replace <code>vps-ip<\/code> with <b><a href=\"\/support\/5139756-how-to-find-vps-ip\" target=\"_blank\" class=\"intercom-content-link\">your own VPS IP address<\/a><\/b> &ndash; you can find it in the VPS dashboard.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Then, access <b><code>http:\/\/localhost:8888\/web<\/code><\/b> in your web browser and finish setting up your account.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_07936bba06\">Step 2 &ndash; Upload Media to Your Plex Media Server<\/h2><p class=\"no-margin\">You can upload media to the server either via FTP or SSH &#128071; <\/p><p class=\"no-margin\">\n<\/p><h3 id=\"h_f82354d1cd\">Option 1 &ndash; Via FTP<\/h3><p class=\"no-margin\">Open <b>FileZilla<\/b> and fill in the <b>Quickonnect<\/b> section with the <b><a href=\"\/support\/5726606-how-to-use-vps-dashboard-in-hostinger#h_6ffa71c9a2\" target=\"_blank\" class=\"intercom-content-link\">SSH access<\/a><\/b> details:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b>Host<\/b>: Your <b><a href=\"\/support\/5139756-how-to-find-your-vps-ip-address\" target=\"_blank\" class=\"intercom-content-link\">VPS IP address<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>User<\/b>: root<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Port<\/b>: 22 <\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">Once you insert all the required details, click on<b> Quickconnect<\/b>, and you&rsquo;ll connect to the FTP server: <\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2023\/07\/dd9bd0b8-99d7-481c-9af8-4d2ce72b62a9.jpg\" alt=\"VPS SSH access details in FileZilla\"><\/div><p class=\"no-margin\">If you encounter the<b> Unknown certificate<\/b> message, select the <b>Always trust this certificate in future sessions<\/b> option and click on <b>OK<\/b>:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2023\/07\/1e44bdd1-cb66-43a8-801b-a5f47a4fab78.jpg\" alt=\"The Unknown certificate error \"><\/div><p class=\"no-margin\">Then, navigate to the folder you want to upload media to (for your convenience, we have created a folder on <b>\/home\/plexlibrary\/<\/b>) and upload it.<\/p><p class=\"no-margin\">\n<\/p><h3 id=\"h_6b16c1b7e0\">Option 2 &ndash; Via SSH<\/h3><p class=\"no-margin\"><b>SSH<\/b> is a really efficient and fast way of transferring files from your local computer to the server. <\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">To upload files via SSH, you must be <b>logged out from your server<\/b> &#128161; <\/p>\n<\/div><p class=\"no-margin\">Open <b>Terminal<\/b> (Linux\/macOS) or <b>Command Prompt<\/b>\/<b>PowerShell<\/b> (Windows) on your local computer and upload your files using the command format below:<\/p><p class=\"no-margin\">\n<\/p><pre><code>scp -P 22 \/home\/user\/Desktop\/[filename] root@vps-ip:the\/path\/to\/folder<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Replace <code>\/home\/user\/Desktop\/[filename]<\/code> with <b>your local path to the file<\/b>. An example command from a <b>Windows<\/b> computer would look like this:<\/p><p class=\"no-margin\">\n<\/p><pre><code>scp -P 22 C:\/Users\/MyUser\/Desktop\/File.txt root@vps-ip:\/home\/plexlibrary<\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Once you run this command, you&rsquo;ll be asked for the<b> server root password<\/b>. Insert the password, and press <b>Enter<\/b>. <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Wait until the upload is completed, and you&rsquo;re good to go!<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting started with the Plex VPS template<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[206],"tags":[],"class_list":["post-648","post","type-post","status-publish","format-standard","hentry","category-vps-os-and-templates"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/8122780-how-to-use-the-plex-vps-template-at-hostinger\/","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=648"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/648\/revisions"}],"predecessor-version":[{"id":2855,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/648\/revisions\/2855"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}