• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

setup a website on my local computer

 
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to develop a website with a database. I wonder what should I do so when a user click a URL say: http://www.myData.com, he will refer to my local computer.

this way, the database will be located on my local computer and I can update it locally.

I'll appritiate any ideas.

thanks
Peter
 
Sheriff
Posts: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the General Computing forum since this isn't a JSP issue.
 
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

You need a static IP for starters
Then you need permission from your ISP to run a web server from that IP
If your computer is not connected directly (router, switch etc in the way) you need to configure your computer as the default route or configure your router to send requests that come in on the ports you want to serve content from to your computer (default 80).

Next you need to register a domain and have the domain registrar's nameservers point to your IP address.

Now everything should work.
 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well, maybe I had to ask this question:

I'm trying to develop a website with ~ 200 users. the website will have a database.

1. should I have a static IP and have it the way described above OR
2. buy a domain and have the services from my ISP. I'm not sure how to have a databae of my own if I only buy a domain? I mean where will it be and how can i make sure it is secured?

any idea?
 
Bear Bibeault
Sheriff
Posts: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your ISp will generally not supply such services. Do a search for "web hosting" companies. I use mmaweb.net and I've been very pleased.
 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Bear Bibeault
correct me if i get it right: the service offered in this site (say the commerce) will give me the ability to control the db from my local computer?
 
I just had the craziest dream. This tiny ad was in it.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic