Information architecture first
For cetrac.com the structure was re-cut entirely: categories and product structure following what customers search for, not the internal order that had grown over time. That decision comes before the technology and determines everything else.