Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Thanks, as I've said above, I've tried both yours and starkeen solution but it still displays the same error on the subdomain "server DNS address could not be found." Commented May 26, 2016 at 13:32
  • What are the actual domain and directory? Commented May 26, 2016 at 13:39
  • wiki.comp.tf is the subdomain which I want to redirect to comp.tf/wiki , I've changed those in your and starkeen code obviously to match my domain but I haven't been sucessful. Wondering if this has anything to do with my VestaCP setup but I've gone through it all 3 times and didn't find any issue Commented May 26, 2016 at 14:07
  • I've updated my previous options with the correct names now, just in case. I've also added one other simple 301 redirect. Commented May 26, 2016 at 14:21
  • It worked! Thanks, apparently I think I also forgot to set it up properly on cloudflare and didnt give it enough time to propagate the dns changes, so I think that was the main issue. Commented May 26, 2016 at 15:01