If moving to the country is related to work or study, you should choose Lisbon or Porto. These are the two largest and most developed locations, where many jobs and educational institutions are available.
For a beach holiday, you can buy housing in Portugal in Madeira, Algarve or Aveiro. These are the best resort areas in the country, offering a large number of luxury villas and apartments.