Which one will all for the user to input a secondary domain and have it show up in the url Parked Domain or Addon Domain?

Example: MainURL.com
When secondary.com/mypage/ is typed I want http://www.secondary.com/mypage/ to show and not http://www.MainURL.com/mypage/