I've got a home server that I use as a development environment, but I
like it to be visible and reachable by the internet. I use dynDNS.com
to get a free domain pointing at my home IP address, which my router
then bounces to my ubuntu machine
mmohon.is-a-geek.com
I checked, and have all of the passenger modules and such loaded in
the apach2.conf file.
I added a virtual host
mmohon.is-a-geek.com which follows:
<VirtualHost
mmohon.is-a-geek.com>
DocumentRoot "/var/www/lovdbyless/public"
ServerName
mmohon.is-a-geek.com
</VirtualHost>
I have also tried
<VirtualHost *>
DocumentRoot "/var/www/lovdbyless/public"
ServerName
mmohon.is-a-geek.com
</VirtualHost>
I've edited my /config/initializers/global_variables.rb to have
SITE = RAILS_ENV == 'production' ? '
mmohon.is-a-geek.com' : 'localhost:
3000'
The results
I cant get lovdbyless at
mmohon.is-a-geek.com
I cant get lovdbyless at
mmohon.is-a-geek.com:3000
From my laptop (not my server) I can get lovdbyless on
192.168.0.103:3000, but no CSS works
From my server I can get lovdbyless on localhost:3000, and CSS works
and looks perfect
I'm missing something and I've searched and searched for how to fix
it. So if this is a newb question I'm sorry.