Aprendizaje profundo en registros DNS

Guía práctica para configurar DNS y VPS con plabonasad.xyz: entender registros DNS, apuntar dominio al VPS, configurar Nginx/Apache y asegurar con SSL Let's Encrypt

24 sept 2025 • 3 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

Guía práctica para configurar DNS y VPS usando un ejemplo real plabonasad.xyz. Esta guía breve y orientada a desarrolladores explica los conceptos clave de DNS, cómo apuntar tu dominio a un servidor VPS y cómo servir la web con Nginx o Apache.

Resumen rápido sobre registros DNS. DNS es la agenda de la red que indica a navegadores y servidores a qué IP deben dirigirse cuando alguien utiliza tu dominio.

Registros comunes y su propósito. A apunta un dominio a una direccion IPv4 ejemplo A plabonasad.xyz -> 123.45.67.89. AAAA apunta a una direccion IPv6 ejemplo plabonasad.xyz -> 2606:4700:4700::1111. MX indica el servidor de correo ejemplo @ MX 10 mail.google.com. CNAME hace un alias hacia otro dominio ejemplo www -> plabonasad.xyz. TXT almacena texto para verificacion y seguridad ejemplo v=spf1 include:_spf.google.com ~all.

El registro A es el mas importante para sitios web porque conecta tu dominio con la IP del VPS.

Paso 1 Obtener la IP publica de tu VPS. Accede al panel de tu proveedor y copia la direccion IPv4 del servidor ejemplo 123.45.67.89.

Paso 2 Configurar registros DNS. En el panel del registrador o gestor DNS de tu dominio añade al menos estos registros Tipo A Nombre @ Valor 123.45.67.89 para el dominio raiz y Tipo A Nombre www Valor 123.45.67.89 para el subdominio www. De este modo plabonasad.xyz y www.plabonasad.xyz apuntaran a tu VPS.

Flujo resumido. Usuario en navegador usa plabonasad.xyz -> consulta DNS -> respuesta A 123.45.67.89 -> conexion al VPS -> Nginx o Apache sirve el sitio.

Paso 3 Configurar Nginx en el VPS. Conecta por SSH ssh usuario@123.45.67.89 y crea el archivo de configuracion por ejemplo sudo nano /etc/nginx/sites-available/plabonasad.xyz. Ejemplo de configuracion basica de Nginx para redirigir www a la version canonica y servir la aplicacion:

server { listen 80; server_name www.plabonasad.xyz; return 301 https://plabonasad.xyz$request_uri; } server { listen 80; server_name plabonasad.xyz; root /var/www/app1/public; index index.php index.html; location / { try_files $uri $uri/ /index.php?$query_string; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.2-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.ht { deny all; } }

Activa el sitio creando un enlace simbolico sudo ln -s /etc/nginx/sites-available/plabonasad.xyz /etc/nginx/sites-enabled/ despues valida sudo nginx -t y recarga sudo systemctl reload nginx.

Paso 4 Comprobar DNS. Verifica que el dominio apunte a la IP con dig plabonasad.xyz o utilizando herramientas online como dnschecker.org.

Paso 5 Asegurar con SSL recomendado. Instala certbot sudo apt install certbot python3-certbot-nginx -y y ejecuta sudo certbot --nginx -d plabonasad.xyz -d www.plabonasad.xyz para obtener certificados gratuitos Lets Encrypt y forzar HTTPS.

Notas finales. El registro A conecta dominio con la IP del servidor. Nginx o Apache sirven la aplicacion desde el VPS. Certbot añade HTTPS y mejora la confianza y posicionamiento. Otros registros DNS como MX CNAME y TXT son utiles para correo y verificaciones.

Sobre Q2BSTUDIO. Somos Q2BSTUDIO una empresa de desarrollo de software y aplicaciones a medida especializada en inteligencia artificial ciberseguridad y soluciones cloud. Ofrecemos desarrollo de software a medida y aplicaciones a medida que integran automatizacion y capacidades de inteligencia de negocio. Si necesitas desplegar infraestructura o migrar servicios cloud revisa nuestros servicios en Servicios cloud AWS y Azure y si te interesa proteger tus sistemas consulta nuestras soluciones de ciberseguridad y pentesting.

Palabras clave integradas para mejorar posicionamiento aplicaciones a medida software a medida inteligencia artificial ciberseguridad servicios cloud aws y azure servicios inteligencia de negocio ia para empresas agentes IA power bi.

Si necesitas que adaptamos esta configuracion a una arquitectura concreta o que despleguemos la solucion completa incluyendo infraestructura seguridad y panel de gestion contacta con Q2BSTUDIO y te ayudamos a implementar una solucion profesional y escalable.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat