Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
304 views
by Rookie
closed by
i added a second wp site and enbled ssl. But it redirects to the first wp site i have.

What am i doing wrong?
closed with the note: Fixed
by Rookie
Very stupid.... The database was corrupt. reimported the right DB and it was fixed....

1 Answer

0 votes
by Expert

Hi gamemaster84,

Are you added custom nginx rules?

If your nginx conf is correct, you should try a different browser, maybe you're having issues with cache in your browser.

Also, please check if you are running an old version of Webinoly and see this issue: https://webinoly.com/support/181/subdomain-redirected-to-main-domain

Regards,

by Rookie
I have the latest version and no custom nginx rules.

1 thing I did was to set dekkerdienstverlening.nl as default domain to see the site with its ip number. I reverted back to default but still no luck.
by Expert
Did you try using a different browser?

Check the nginx conf of each site, did you see something wrong?

What did you do to try to fix it?

Debug it!
by Rookie
I tried different browsers, checked nginx conf. Tried dis and reanable both sites. tried redirect www. nothing happens...

I'll try to dig deeper
by Expert
I see that you closed this issue.

Can you tell us, how did you fix it?

Just as a reference for the other users.

Regards.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...