Currently there is no way to buy safehouses / real estates in gta V. Even though there is an in-game website it says that it is under maintenance. So for now there is no way to buy safehouses. Some say purchasable safehouses and real estates will be exclusive to gta online while some others state that they will become available later on.
So what do you think guys? Personally I am extremely disappointed.