By sergervasi
I have http://wikiquest.ru/ domain to your host cloud.digitalocean.com. and has the domain http: //другиеигры.рф/ on another host. I need to make a redirect from http://wikiquest.ru/ at http: //другиеигры.рф/ how do I do this on your host?
p.s. I almost know nothing about this, please write in detail. Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
server { server_name .domain.com;return 302 $scheme://forwarded-domain.com;}
I’m trying to redirect a main domain to a subdomain Didn’t work:
<VirtualHost *:80> ServerName xy.example.com RedirectPermanent / http://abc.example.com/ # optionally add an AccessLog directive for # logging the requests and do some statistics </VirtualHost>```
your code has “‘’'”
Is that an error or that’s how it should be
or on any version 0.9.1 or higher:
server {
server_name .mydomain.com;
return 301 http://www.adifferentdomain.com$request_uri;
}
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.