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

Domain Alias problem (iptable related) [UPDATED]

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
kandalf
Posts: 87
Joined: Tue May 13, 2014 11:53 pm

Domain Alias problem (iptable related) [UPDATED]
  • Quote

Post by kandalf » Fri Oct 31, 2014 5:10 pm

I have a server with multiple users, today I tried to add a new domain with a alias domain with one regular user (not the admin account) and it won't work.

For example:
My users is called "userA" it have the main domain that is working called "domainA.com"
In that user account, every time I want to add a new domain I add it for example "testdomain.com" and in the aliases I put this:
"www.testdomain.com
testdomain.domainA.com
"

So I can access the website using the temporary "testdomain.domainA.com" subdomain. I already do this more than 10 times and it works every time. But since today I'm unable to do it. This is very important to me since sometimes I start to work in a website and the principal domain is not set so I use the temporary subdomain and when the client bought the correct domain everything works great.

I check the "/home/$user/conf/web/httpd.conf" and "/home/$user/conf/web/nginx.conf" files and this new domain is equal to the other virtualhosts that are in the file, and that are working.

Any tip to solve this issue. I already delete the domains multiple times and add it again but nothing works

[UPDATE]
An update to this bug. I think it's related with the iptable implementation.

For example if I stop iptables and create a domain in "userA" account and add an alias, the alias don't work, if I reboot the server with iptables stopped then the alias domain start to work even if I restart iptables. But if I restart the iptables and try to add other domain with an alias this new domain will not work.

If I never restart iptables after reboot the server, I can add how many domains and aliases I want and everything works great.
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