Newby: where to install mojoPortal on development machine?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/29/2012 6:33:38 PM
Gravatar
Total Posts 9

Re: Newby: where to install mojoPortal on development machine?

Joe:

That helped a lot. Thanks! Now I understand I need to pick one or the other and go with that. I would use host names, I think. But now the question arises as to how I can edit the hosts file on the production server at Arvixe. Hmm. I'll have to check with them, I guess.

I noticed in your notes about the hosts file you put the name first followed by the 127.0.0.1 but in the file on my computer it is the reverse. Does it make a difference?

Dave

1/30/2012 6:38:10 AM
Gravatar
Total Posts 18439

Re: Newby: where to install mojoPortal on development machine?

Hi,

But now the question arises as to how I can edit the hosts file on the production server at Arvixe. Hmm. I'll have to check with them, I guess

No, what I've shown you is a way to do it on your dev machine without use of a DNS server. On the internet host names are resolved to ip addresses by DNS servers and you have to use real ip addresses not the loopback address 127.0.0.1 which on all computers points to itself even if tha machine has no network card at all and you can't do it with host files, that would require being able to add entries to the host files of every single computer that accesses the internet.

So you need a site with a fixed ip address ideally a dedicated ip address not shared by other sites at the host, and youneed DNS settings on a DNS server that map host names/domain names to that ip address.

I noticed in your notes about the hosts file you put the name first followed by the 127.0.0.1 but in the file on my computer it is the reverse.

Yes, I typed that incorrectly (I just now fixed in the documentation, it was shown more clearly in the screen shot), the ip address goes first. But as mentioned above you need to understand about the loopback address 127.0.0.1, then you'll get the joke on this think geek t-shirt.

Hope that helps,

Joe


You must sign in to post in the forums. This thread is closed to new posts.