Skip to content

Wrong domain redirect #70

@GreathostRo

Description

@GreathostRo

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions