Web hosting in Spain: rules for a Spanish audience
Spanish shared hosting mostly runs from Madrid, less often from Barcelona and other cities. It's chosen for sites with visitors in Spain: stores that ship nationwide, websites of real estate agencies, clinics, schools, travel and restaurant projects. Spain is an EU member, so a site falls under GDPR, but the country has its own requirements for websites, and these are what owners from abroad most often miss.
Aviso legal, LSSI-CE and data protection
If a site does business and targets Spain, the server location is only part of the job. The site itself must have:
- Aviso legal. The Information Society Services and Electronic Commerce Act (LSSI-CE) requires publishing details of the owner: name or company name, tax number (NIF), address, email and registration details.
- Privacy policy. Besides GDPR, Spain has the organic data protection law LOPDGDD. It is enforced by the AEPD agency, which regularly fines small companies too.
- Cookie consent. Analytics and ad tags may only load after the visitor consents; this follows directly from the LSSI-CE and the AEPD cookie guidance.
- Agreement with the host. The host processes visitor data on your behalf, so a data processing agreement is needed. Most hosts in the EU let you sign it in the customer area.
Spanish-speaking audiences outside Spain
A server in Madrid is good for visitors from Spain and Portugal. For Latin America it's far away: traffic crosses the Atlantic, and a site for Mexico, Argentina or Chile will benefit from a server in the Americas. If the audience is split between Spain and Latin America, put the main server closer to the larger share of visitors and serve static files through a CDN. For an audience across Europe, compare Madrid with the locations on the hosting in Europe page and with hosting in France.
What to check in a plan
- Control panel. In Spain cPanel and Plesk are used almost equally. If the site is moving from another host, it's easier to stay on the panel you know.
- Disk and PHP. NVMe is common on Spanish plans. Check the choice of PHP version per site, the memory limit and SSH access.
- Email. Many sites in Spain receive enquiries by email: look at the number of mailboxes, SPF, DKIM and the sending limit.
- Backups. How often, how many days they are kept, and whether you can restore from the panel yourself.
- Tax and payment. Spanish VAT (IVA) of 21% is added to the price for residents of Spain; private customers from other EU countries are charged the VAT of their country, and customers outside the European Union are usually not charged tax. Prices are often listed without IVA — compare the final amount. Payment is most often by card, SEPA transfer, PayPal or invoice.
- .es domain. Hosts often include a .es domain for the first year. Find out the renewal price and check whose name it's registered in.
When to choose a VPS
Shared hosting is enough for a company website, a blog or a mid-sized store. If you need your own server configuration, Redis, queues or stable speed during the sales season, move to a VPS in Spain: the resources are dedicated, but server setup and updates are handled by you or an administrator.