Alex - your setup looks pretty much just like mine.  I'd contact support at
pythonanywhere.  They were really helpful when I was going through this.

-Jim

On Sat, Apr 4, 2015 at 6:10 PM, Alex Glaros <[email protected]> wrote:

> need help with configuring pythonanywhere.com site and hostmonster.com.
>
> domain name is engagementsquared.com hosted at hostmonster.com.   If user
> types engagementsquared.com, they are taken to:
> https://alexglaros.pythonanywhere.com/engagementsquared/default/index
>
> I'd like the pythonanywhere URL to instead appear to users as
> engagementsquared.com,
>
> Hostmonster is configured as shown in attachment.
>
> I created file called routes.py, put it in main engagementsquared
> directory in pythonanywhere.  Only content in it is:
>
> #!/usr/bin/python
> # -*- coding: utf-8 -*-
> routers = dict(
>     # base router
>     BASE=dict(
>         default_application='engagementsquared',
>         domains={'www.engagementsquared.com':'engagementsquared'}
>     ),
> )
>
> then restarted pythonanywhere app.
>
> What did I do wrong?  My URL still looks like this:
> https://alexglaros.pythonanywhere.com/engagementsquared/default/index
>
> thanks,
>
> Alex Glaros
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/2aAx3-6EOq8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to