I have 3 url's with the same content, that is, the 3 sites have the same content, but I would like any user to access the url's
https://tooB.com.br or
https://tooBB. com were redirected to the URL
https://tooA.com in your browser, simple as that.
I was told to change my dispatcher -> src -> conf.d -> available_vhosts
In this path I have two files, default.vhost and too.vhosts, both with almost the same content, the difference is that default.vhost is as follows:
# Include customer defined variables
Include conf.d/variables/custom.vars
<VirtualHost *:80>
ServerName "publish"
# Put names of which domains are used for your published site/content here
ServerAlias "*"
# Use a document root that matches the one in conf.dispatcher.d/default.farm
DocumentRoot "${DOCROOT}"
# URI dereferencing algorithm is applied at Sling's level, do not decode parameters here
AllowEncodedSlashes NoDecode
# Add header breadcrumbs for help in troubleshooting
<IfModule mod_headers.c>
Header add X-Vhost "publish"
</IfModule>
and too.vhost looks like this:
# Include customer defined variables
Include conf.d/variables/custom.vars
<VirtualHost *:80>
# Put names of which domains are used for your published site/content here
# Use a document root that matches the one in conf.dispatcher.d/default.farm
DocumentRoot "${DOCROOT}"
# URI dereferencing algorithm is applied at Sling's level, do not decode parameters here
AllowEncodedSlashes NoDecode
# Add header breadcrumbs for help in troubleshooting
<IfModule mod_headers.c>
Header add X-Vhost "publish"
</IfModule>