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.

Default website
#1
Default website
So I have been using Sentora for a Year now but I didn't have this problem yet.

I have VPS with multiple users and few users have multiple sub/domains. 

But whenever I try to go to server IP or sub/domain that I still didn't add to Panel or Daemon did't run yet I get redirected to this specific website (AA) of one of the users. 


I tried adding domain like aaaaaaaaa.xyz but I still got redirected to website AA instead of aaaaaaaaaaa.xyz when I tried IP.. 

Could anyone help me?

EDIT:
I figured it out.
I opened httpd-vhosts.conf and change my first domain(after panel.site) to be aaaaaaa.xyz instead of Website(AA).
Reply
Thanks given by:
#2
RE: Default website
(08-25-2017, 04:32 AM)bl3y4 Wrote: EDIT:
I figured it out.
I opened httpd-vhosts.conf and change my first domain(after panel.site) to be aaaaaaa.xyz instead of Website(AA).
This will not work since when the next time you or a client changes a domain or sub domain Sentora will re-write the file.
It warns of this right on the top of the file:

Quote:################################################################
# Apache VHOST configuration file
# Automatically generated by Sentora 1.0.3
# Generated on: 15:15 22nd Aug 2017 EDT
#==== YOU MUST NOT EDIT THIS FILE : IT WILL BE OVERWRITTEN ====
# Use Sentora Menu -> Admin -> Module Admin -> Apache config
################################################################
You should be seeing the panel login if a false sub domain is used. Which can be changed in the panel's .htaccess file.
-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:


Possibly Related Threads…
Thread Author Replies Views Last Post
Split Website log files. spoonman 1 3 ,320 01-01-2022, 10:00 AM
Last Post: TGates
Uploaded Website Not Updating GiantEspresso 3 6 ,908 04-19-2020, 09:57 PM
Last Post: Ron-e
The website don't load naire 1 4 ,582 10-15-2019, 11:48 PM
Last Post: jamesmango

Forum Jump:


Users browsing this thread: 1 Guest(s)