Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

183
Views
Servidor VPS Ubuntu 18.04 // host virtual // el sitio web no se carga

He configurado un sitio web en un VPS con Ubuntu 18.04. Solo instalé Apache y PHP y configuré ufw para permitir el acceso a través de los puertos 80 y 443.

En mi registrador, dado que este es el sitio principal del servidor, agregué la IP del servidor para DNS: 192.188.78.105 y también modifiqué el servidor de nombres para que sea ns1.justfitnessbooks.com y ns2.justfitnessbooks.com

FYI, ns1.xx y ns2.xxx funcionan bien porque antes de esta instalación, había instalado Vesta CP que instala un paquete de servidor completo, y el sitio se cargaba bien, pero era imposible usar el correo electrónico con Vesta CP, así que Desinstalé todo y comencé con una configuración manual.

Mi archivo justfitnessbooks.com.conf dentro de /etc/apache2/sites-available se ve así:

 <VirtualHost *:80> ServerAdmin myemail@myserver.com ServerName justfitnessbooks.com ServerAlias www.justfitnessbooks.com DocumentRoot /var/www/html/justfitnessbooks.com/public_html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet

Mi archivo justfitnessbooks.com.conf dentro de /etc/apache2/sites-enabled se ve así:

 <VirtualHost *:80> ServerAdmin myemail@myserver.com ServerName justfitnessbooks.com ServerAlias www.justfitnessbooks.com DocumentRoot /var/www/html/justfitnessbooks.com/public_html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>

Mi archivo /etc/hosts se ve así:

 192.188.78.105 justfitnessbooks.com 192.188.78.105 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback #::1 justfitnessbooks.com fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts

Hacer ls -la permisos para el directorio del sitio se ve así:

 admin@server-12345:/var/www/html$ ls -la total 24 drwxr-xr-x 3 root root 4096 Mar 8 15:39 . drwxr-xr-x 3 root root 4096 Mar 8 01:53 .. -rwxr-xr-x 1 root root 10918 Mar 8 01:53 index.html drwxr-xr-x 3 root root 4096 Mar 8 15:39 justfitnessbooks.com admin@server-12345:/var/www/html$

He reiniciado apache con systemctl restart apache2

Y, cuando busco en el host justfitnessbooks.com, recibo el siguiente mensaje:

 admin@server-12345:~$ host justfitnessbooks.com justfitnessbooks.com has address 192.188.78.105 Host justfitnessbooks.com not found: 2(SERVFAIL) admin@server-12345:~$

¿Qué me estoy perdiendo? ¿Debo modificar algo relacionado con ns1.xxx ns2.xxx en mi servidor?

¿Alguna sugerencia?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!