Last updated: Sunday 11th February 2007, 9:42 PT (GMT - 8), AHD
you have to get a zone entry put into your DNS servers
something like:
moodle.annedawson.net. A
<IPADDRESS.CABLEMODEM>
Foward port 80 from your router to your Linux box -> <IPADDRESS.CABLEMODEM>
then a virtual host in apache: edit --- /etc/httpd/httpd.conf
The virtual host config might be in
/etc/httpd/extras/vhostsnnnnn (cant remember the exact name)
It could be
/etc/httpd/conf.d/vhosts.conf
If you are only running moodle then you can just do the port forward and
call it up by the address. eg: http://70.34.234.123
INFO:
[root@brandi ~]# dig ns annedawson.net
; <<>> DiG 9.2.4 <<>> ns annedawson.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9531
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUESTION SECTION:
;annedawson.net. IN NS
;; ANSWER SECTION:
annedawson.net. 170374 IN NS ns1.misk.com.
annedawson.net. 170374 IN NS ns2.misk.com.
;; ADDITIONAL SECTION:
ns1.misk.com. 170374 IN A 64.74.251.50
ns2.misk.com. 170374 IN A 64.74.251.100
;; Query time: 22 msec
;; SERVER: 127.0.0.1#53(localhost)
;; WHEN: Sun Feb 11 12:34:48 2007
;; MSG SIZE rcvd: 108