Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Auto redirect of non-existing subdomain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
NIKTONIKTO717
Posts: 1
Joined: Fri Mar 12, 2021 10:15 am

Os: Ubuntu 17x
Web: apache + nginx
Auto redirect of non-existing subdomain
  • Quote

Post by NIKTONIKTO717 » Fri Mar 12, 2021 10:25 am

Hi guys,
this problem I have since i had installed the VestaCP, but it wasn't frustrating previously. Hovewer, as more domains is on the server, as more it's not good.
For exmaple, I have 2 domains:
example1.com
and
example2.com
added to VestaCP. They have correctly setted ns domains in domain registrator and in VestaCP they are added just only with default aliases (www.). And the problem is:
When I go to the some-non-exisiting-subdomin-of.example.com or another-subdomain.example.com it always redirects me to one of existing main domains but I cannot choose to which one or change it. If i delete that domain on which is everything non existing redirected, it choose another domain and everything non-existing is redirected here.
Can I disable it, set just 404 page or change the domain on which will be non-existing subdomain redirected?

Thank you for your replies
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password