F4 Panel ๐Ÿ“– User manual เน„เธ—เธขEN Sign in โ†’

โ† All chapters

๐ŸŒฟ Subdomains & extra domains

The most common mix-up โ€” a subdomain is a whole new site, an alias is another name for the same one

The difference

SubdomainExtra domain (alias)
Exampleshop.example.comexample.net showing the same site as example.com
FilesIts own separate folderShares the main site's folder
DatabaseIts ownShared
System user / PHP poolSeparateShared
Counts against the planCounts as one websiteCounts as an alias
Use whenYou want a genuinely separate site โ€” a shop, a staging copyYou want several domains to open the same site

Create a subdomain

Open the main site (the apex domain) โ†’ Subdomains tab. Type the label, e.g. api, and pick a type and database exactly as you would for a new site โ€” because it is one.

โš ๏ธ Remember its DNS โ€” add an A record named api in the parent zone pointing at 157.254.192.88.

Add an extra domain (alias)

Open the site โ†’ Extra domains tab, enter the domain and add it; www. is added for you. Each added domain still needs its own DNS pointing at 157.254.192.88, and a certificate that covers the new name.

โ† Previous๐Ÿ”’ SSL / HTTPS certificates Next โ†’๐Ÿ“ File manager & code editor
Every chapter
๐Ÿš€ Getting started๐ŸŒ Creating & managing websites๐Ÿ›ฐ Pointing DNS at this server๐Ÿ”’ SSL / HTTPS certificates๐ŸŒฟ Subdomains & extra domains๐Ÿ“ File manager & code editor๐Ÿ“ก FTP / FTPS๐Ÿ–ฅ SSH / SFTP and the web terminal๐Ÿ™ Deploying from Git๐Ÿ—„ Databases๐Ÿงฉ The app installerโฐ Cron jobs โ€” scheduled work๐Ÿ”Œ API & integrations๐Ÿ‘ค Your account & security๐Ÿงฏ Common problems
F4 Panel ยท hosting control panel ยท developed by F4 Code