'Does each e.g. wordpress subdomain have a unique IP?
Webhosting sites like wordpress or godaddy have several subdomains like https://hello.wordpress.com/ . Does each of them have a unique IP-address (v4 or v6)? If not, how does routing work?
I just checked and the output from host hello.wordpress.com equals host www.wordpress.com. So I assume that...
- www.wordpress.com resolves to e.g.
192.0.78.12/and - hello.wordpress.com resolves to e.g.
192.0.78.12/helloor similar.
Is this assumption correct?
Solution 1:[1]
You have an A record for each subdomain, so you can point it to the same IP address or a different one.
The routing of the sites is just done with the server configuration, I can't speak for GoDaddy or WordPress as I don't know what stack they are using.
I believe a standard Apache server would have the main domain in /public_html and the subdomain in a /sub.domain.com folder.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Josh Bonnick |
