As a software developer or tester of Web applications, you may be required to know what is a valid domain name and what is an invalid domain name. A valid domain name must satisfy a number of requirements. This page allows you to learn and test domain name format again those requirements.
What is a valid domain name?
A domain name is an identification of a unique computer system on the Internet. A complete domain name consists of one or more subdomain names and one top-level domain name separated by dots (.). For example, sqa.fyicenter.com is a complete domain name.
A complete domain name is valid if it meets the following criteria:
How to test domain name format?
In order to help your programming or testing tasks, FYIcenter.com has designed this online testing page for you to validate any given domain name using PHP regular expressions.
All you need to do is to enter a domain name in the form below and click the Start button.
Other On-line Testing Pages by FYIcenter.com
FYIcenter.com has prepared some simple but very interesting on-line testing pages that are useful for your programming and testing tasks:
Each tutorial answers one commonly asked PHP programming question with a short, but precise and clear PHP script.