Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong domain redirect #70

Open
GreathostRo opened this issue Dec 12, 2021 · 0 comments
Open

Wrong domain redirect #70

GreathostRo opened this issue Dec 12, 2021 · 0 comments

Comments

@GreathostRo
Copy link

Hi,

I just installed VDDoS on the CloudLinux operating system, Webserver LiteSpeed, cPanel control panel and I have a problem.

I configured a single domain for testing and have the following configuration in the /vddos/conf.d/website.conf file:
imoby.ro http://127.0.0.1:60100 http://212.81.56.110:80 no no no no
imoby.ro https://127.0.0.1:60101 https://212.81.56.110:443 no captcha /var/cpanel/ssl/apache_tls/imoby.ro/combined /var/cpanel/ssl/apache_tls/imoby.ro/ combined

And in the .htaccess file from the imoby.ro domain I put the following:
RewriteCond% {HTTP}! On
RewriteRule ^ (. *) $ Http://127.0.0.1:60100/$1 [P, E = Proxy-Host: imoby.ro]

RewriteCond% {HTTPS} on
RewriteRule ^ (. *) $ Https://127.0.0.1:60101/$1 [P, E = Proxy-Host: imoby.ro]

The redirect works ok, the problem is that instead of redirecting to the domain imoby.ro redirects to another domain hosted on the same server, namely a24.ro

I do not understand where the problem is and how I could solve it, the ip 212.81.56.110 is used as shared for several sites, I suspect that it also works on servers with shared VDDoS accounts.

Please help me, i really like VDDoS and i want to test it.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant