Firstly the manual pages for httpd should indicate the location of the primary config files, man httpd
Typically the file is called httpd.conf
and is normally located at /etc/httpd/conf
indicates that the variable / environment variable used to store the domain is called ServerName
so simply substitute the entry in the file containing ServerName www.example.com:80
with ServerName www.YourDomainName.com:80
simply substitute the .com
with the appropriate value, i.e. co.uk, etc. 80
here refers to the port no. that you will be serving the pages from, typically port 80
1. Always remember to take a backup copy of any config file before you amend it.
2. After modifying the config file remember to restart the httpd
Hope that helps.