This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Poll: Should we add this to Sentora as a default installation feature?
You do not have permission to vote in this poll.
Block sub domains and direct IP access
0%
0 0%
Just block sub domains
50.00%
2 50.00%
No, leave it as is.
50.00%
2 50.00%
Total 4 vote(s) 100%
* You voted for this item. [Show Results]

Update redirect to Sentora login to an error page if a sub domain does not exist
#4
RE: Update redirect to Sentora login to an error page if a sub domain does not exist
(11-09-2024, 01:08 AM)kevwebbie Wrote: I've been logging in using the server ip and like it. It also tells me if sentora is installed properly without having to change dns settings.
kevwebbie:
Note: The code for this already exists in the /etc/sentora/panel/.htaccess file:
Code:
# Optionally you can uncomment the below line and configure your domain to only allow access from the FQDN.
#RewriteCond
%{SERVER_NAME} !^sentora\.domain\.com$
#RewriteRule
^ - [F]
The proposal is to disable IP access by default allowing the server owner to enable IP access if they wish.

(11-09-2024, 01:08 AM)Me.B Wrote: Should be under construction page or error 503.

503?
Quote:503 Service Unavailable
The server cannot handle the request (because it is overloaded or down for maintenance). Generally, this is a temporary state.

Under construction wouldn't be correct either if the resource (or page) doesn't exist, then it's a 404 not found.
-TGates - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Messages In This Thread
RE: Update redirect to Sentora login to an error page if a sub domain does not exist - by TGates - 11-14-2024, 11:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Application Error: [0204] - problems when adding an A Record of more than 65 A record andrabcm 8 22 ,952 07-30-2019, 11:11 AM
Last Post: andrabcm
Need Sentora HELP ? Alemiz 4 13 ,344 10-26-2018, 04:09 PM
Last Post: republicus
Sentora Feedback and Ideas Xversion 10 34 ,247 10-28-2017, 06:49 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)