Hi guys,
I have a registered domain, also a custom dns. But i still can't browse the website e.g http://www.mydomain.com, but If I browse the IP, it works fine, anything I miss?
here are some key settings in httpd.conf
is there anything I miss? thanks.
I have a registered domain, also a custom dns. But i still can't browse the website e.g http://www.mydomain.com, but If I browse the IP, it works fine, anything I miss?
here are some key settings in httpd.conf
Code:
Listen ipaddress:80
ServerAdmin [email]myemail@address.com[/email]
ServerName mydomain.com:80
<VirtualHost ipaddress:80>
ServerName mydomain.com
ServerAlias [url]www.mydomain.com[/url]
ServerAdmin [email]myemail@address.com[/email]
DocumentRoot /user/address
DirectoryIndex index.php index.html index.htm
</VirtualHost>
<VirtualHost ipaddress:80>
ServerName mydomain.com
redirect / [url]http://www.mydomain.com[/url]
</VirtualHost>