Hey There…
When I run the command nginx -t, I am receiving a warning about conflicting server name.
2026/05/06 22:36:34 [warn] 2386#2386: conflicting server name "lafayette-parish.com" on 0.0.0.0:80, ignored
I cannot parse this without more research and I am using Debian Trixie now with my web server. What was working on my past wed server(s), now errors out with no online website(s).
server {
server_name lafayette-parish.com www.lafayette-parish.com;
index home.html blogstar.html info.html ideas.html contact.html;
root /var/www/lafayette-parish.com;
gzip on;
gzip_comp_level 3;
gzip_types text/plain text/css application/javascript image/*;
ssl_certificate /root/certs/lafayette-parish.com/MyCertificate.crt;
ssl_certificate_key /root/certs/lafayette-parish.com/MyKey.key;
listen 443 ssl default_server;
http2 on;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
}
server {
listen 80;
server_name lafayette-parish.com www.lafayette-parish.com;
return 301 https://lafayette-parish.com$request_uri;
}
This is my conf.d/file.conf to port Nginx as the backend to the website.
I still do not see what is incorrect yet…
Just for additional data, I am on nginx 1.26.3.
odd set up on my part. I got it situated. Sorry to bug everyone.