F5F Stay Refreshed Software Operating Systems Nginx fallback site configuration

Nginx fallback site configuration

Nginx fallback site configuration

Y
YourLocalDerp
Junior Member
46
03-18-2023, 12:42 AM
#1
Hey, I understand what you're going through. You're looking to build a site that redirects users when they enter a non-existent subdomain. You could set up a custom error page or redirect logic using your web server configuration. Tools like Nginx or Apache allow you to define rules for subdomains and handle them appropriately. Let me know if you need help setting that up!
Y
YourLocalDerp
03-18-2023, 12:42 AM #1

Hey, I understand what you're going through. You're looking to build a site that redirects users when they enter a non-existent subdomain. You could set up a custom error page or redirect logic using your web server configuration. Tools like Nginx or Apache allow you to define rules for subdomains and handle them appropriately. Let me know if you need help setting that up!

G
GoldenEve
Member
56
03-19-2023, 01:37 PM
#2
https://fedingo.com/how-to-setup-catch-a...-in-nginx/. If any domain resolves to your IP address, it should function correctly as long as you're not using HTTPS. Using HTTPS without a wildcard certificate usually causes a certificate warning in the browser when a non-existent domain is accessed.
G
GoldenEve
03-19-2023, 01:37 PM #2

https://fedingo.com/how-to-setup-catch-a...-in-nginx/. If any domain resolves to your IP address, it should function correctly as long as you're not using HTTPS. Using HTTPS without a wildcard certificate usually causes a certificate warning in the browser when a non-existent domain is accessed.

_
_DuxaCool_
Junior Member
14
03-19-2023, 08:06 PM
#3
But consider the case when the domain points to root at @? google,com
_
_DuxaCool_
03-19-2023, 08:06 PM #3

But consider the case when the domain points to root at @? google,com

O
opticgunship
Posting Freak
815
03-21-2023, 07:24 AM
#4
You're asking about how DNS works for different domains. It seems you want to know if your DNS resolves subdomains like "something.example.com" to the correct IP address. If your DNS only handles specific domains, you won't be able to manage those subdomains. The output of your nslookup commands should match, showing the same IP for both "example.com" and "something.example.com." If they differ, you may need to adjust your DNS settings for those subdomains.
O
opticgunship
03-21-2023, 07:24 AM #4

You're asking about how DNS works for different domains. It seems you want to know if your DNS resolves subdomains like "something.example.com" to the correct IP address. If your DNS only handles specific domains, you won't be able to manage those subdomains. The output of your nslookup commands should match, showing the same IP for both "example.com" and "something.example.com." If they differ, you may need to adjust your DNS settings for those subdomains.