도록 focuses more on achieving a goal or a condition, while 위해서 is used more generally for expressing purpose.