Question
How to 301 redirect IP to domain? Basically my site is accessible from abc.com and the relevant ip on which it is pointing
I have read major tutorials and questions on how to 301 redirect the ip to my main domain but everything seems irrelevant - either I couldnt locate the relevant lines to be changed or the versions of ubuntu are different. Any help here is appreciated?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×