Finally got it working. With Stan's advice about "making sure there's no extra characters" in mind,
I took out the "http://" in
http://mydomain.dyndns.org
I tried with and without the port number at the end of the url.
Quote:
mydomain.dyndns.org
mydomain.dyndns.org:80
|
Either one works.
So whether or not putting the port number at the end doesn't seem to make a difference. At least for me that is. The real problem was putting "http://" in the front.
After I did this I got a new error saying,
Quote:
Starting httpd: Syntax error on line 292 of /etc/httpd/conf/httpd.conf:
Illegal option Options
|
So I commented out both line 292 and 293 which are
Quote:
Line 292 Options Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
Line 293 AllowOverride Options FileInfo AuthConfig Limit
|
Also after this I did,
Quote:
service httpd stop
service httpd start
|
both checked out fine.
Even after this I had to go through one more step which was to,
and change the ip address in the file accordingly as I'm using the free dynamic dns service.
Quote:
127.0.0.1 localhost.localdomain localhost
xx.xx.x.xxx (changed this ip address) mydomain.dyndns.org mydomain
|
After this, everything worked out fine.
At this point I have a question. Since I have a dynamic dns, the ip address will keep changing.
I realize the program ddclient is used to accomdate such issue. But I doubt it changes the ip address typed in the /etc/hosts. And unless ip address typed in /etc/hosts matches with the changing dynamic DNS, I can't access my server.
Is there a way to get around this problem?