Consider the case of blogspot.com the domain is the one blogspot.com only but suppose i register in it with xxx then i will have xxx.blogspot.com like wise here it won't be the subdomain (i can smell) , but its some thing different ... how to achieve this ?? in j2ee web application..
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Buy a domain name at you're favorite ISP.
Configure for this domain a domain wildcard for the A record in the DNS zonefile (usualy using some nice tool from you're ISP):
Code a Java Servlet (or whatever you are using) as front controller. The front controller will dispatch you to what ever the subdomain needs to show.
UPDATE: here is a example of a BIND zone file:
Here xxx.mauriceperry.ch will resolve to 213.186.61.21 whatever xxx is.