Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

232
Vistas
how to setup a securised personal appache website on my synology NAS?

I recently bought a synology ds918+ and I would like to create a web site I created it using the web station and apache 2.4 package but I'd prefer my website to be on https than http and would like to be able to automatically be on https, 443 port when I enter the link to my web site. But didn't found any clear tutorial on how to do it, how can I do this ?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

I had the same problem and found a good manual. What you need is a .htaccess file in the root of the web page with following content:

#turn on url rewriting 
RewriteEngine On

#reroute http to https and website.com to www.website.com
RewriteCond %{HTTP_HOST} ^website\.com$ [NC]
RewriteRule ^(.*)$ http://www.website.com/$1 [R=301,L]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]

Just replace "website" and ".com" with your names.

You can also add the following:

ErrorDocument 404 /404.htm

Hope that helps

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda