Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Rookie

When i trying redirect all trafic from olddomain.org to newdomain.com with command like this:

sudo site example.com -forward=example.org
webinoly shows an error: [ERROR] Can not create site olddomain.org because already exists!
How i can do this redirection for all traffic?

1 Answer

0 votes
by Rookie
edited by

I think it should be something like this

sudo site olddomain.org -forward=newdomain.com

if the old site exists on the same server, then you need to manually change site.config

server {
	listen 80;
	listen [::]:80;

	server_name olddomain.org;
	return 301 http://newdomain.com$request_uri;
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.