Help - Search - Members - Calendar
Full Version: Hosting My Own Website
BleepingComputer.com > Internet & Networking > Web Site Development
   
Seanio
Hey,

I have just created a website, and I am trying to use my own computer to host this website. I have installed apache and also have installed the no-ip DUC application with the following domain name s-fix.no-ip.biz. I have also set up a Static IP address for my router. I am with BT Internet, so I dont know if they will allow me to host or not. But I will give it a go.

So I have a static IP, I have a domain name, I have apache, but I have set everything up according to plan, and when I go type in the website www.s-fix.no-ip.biz nothing appears. I enter in my ip address and all it does it takes me to my netgear router settings.

Also where do my web pages go? Do I have to direct apache to them? Very confused wacko.gif

Can anyone shed any light on this?
groovicus
Do you have port forwarding enabled in your router? Specifically, do you have port 80 open on your router? Is Apache configured to use port 80? there are any number of things that could be happening. Can you access your page locally (from the machine on which it is located?).
Seanio
Hey groovicus,

Yes Port 80 is open, as I went into my Netgear router and opened up port 80 TCP and UDP both ways. I also port forwarded 80 aswell. In Apache (sorry dont want to sound stupid) but I have set apache to connect to local computer not another computer. But still I do not know how to get apache to use port 80.

No I cannot access my page locally, I have though inserted all of my HTML pages into the directory C:\Program Files\Apache Software Foundation\Apache2.2\htdocs.

How do I access my page locally?

Again thank you very much for the help smile.gif
groovicus
In the address bar, if you type in localhost:80 or localhost:8080, does anything happen? Does the apache page even show up?
Seanio
Ah ha yes the website does appear. So I can now access my website locally which is what I initially wanted to do so that I can test it. I'm using SQL and adding in databases so that I can add in a username and password for my website along with a site search function for hardware and software, but this is much harder than I thought!

Thank you for the information! smile.gif
groovicus
Ok, so now you know that Apache is working. Do you know on which port it worked? 80 or 8080?
Seanio
Yes it was on port 80, I port forwarded just port 80 and it has worked a treat. Thanks again for the help you provided me smile.gif
Seanio
Just another quick question. I can access my website by typing in the following http://localhost/ and also http://localhost:80/ and my website comes up. But I would like to host my website so I can access it from another computer in a different location.

I input http://myipaddress/ and it just directs me to my router. I also insert http://mycomputername/ and it does actaully take me to my website. But I have just signed up to dyndns.com to get a domain name and I just dont know how to set it up.

Is there an easier, can I access my website from a completely different computer by typing in http://mycomputername/ ??
groovicus
If you go to a computer not on your network and just type in your IP address, what happens? If you are getting your router, then you don't have your router set up properly. You should not be able to access the configuration options remotely.
Amazing Andrew
I did a little poking around and here's what I think is happening.

www.s-fix.no-ip.biz won't work because that's not your address, s-fix.no-ip.biz is. So http://s-fix.no-ip.biz would point to your site.

Looking at the DNS info on s-fix.no-ip.biz, the IP address is recorded as being 192.168.0.136. I'm not a networking expert, but I believe IP addresses beginning with 192.168 are reserved for local networks, i.e. networks behind a router like most home and business setups. If I surmise correctly, you entered this IP in your no-ip.biz setup. Make sure, rather, that you give them you external address, which you can discover by visiting http://whatsmyip.org/ .

Once you've done that, it's simply a matter of forwarding ports as groovicus said earlier.

I'm not sure how no-ip.biz works but the above is how I set up my own webserver with http://www.dyndns.com/ for free. See: http://andrew.doesntexist.org
Seanio
groovicus and Amazing Andrew thank you so so much for the time you have given to help me on this. I have my website all up and running now, so I can now test my website using SQL database aswell to see if everything is working correctly for me.


Many thanks for your time! I have learnt so much from both of you. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.