Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Hosting My Own Website


  • Please log in to reply
10 replies to this topic

#1 Seanio

Seanio

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:08:00 AM

Posted 27 April 2008 - 03:00 PM

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 :thumbsup:

Can anyone shed any light on this?

BC AdBot (Login to Remove)

 


m

#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:00 AM

Posted 27 April 2008 - 05:51 PM

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?).

#3 Seanio

Seanio
  • Topic Starter

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:08:00 AM

Posted 28 April 2008 - 12:06 PM

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 :thumbsup:

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:00 AM

Posted 28 April 2008 - 12:49 PM

In the address bar, if you type in localhost:80 or localhost:8080, does anything happen? Does the apache page even show up?

#5 Seanio

Seanio
  • Topic Starter

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:08:00 AM

Posted 28 April 2008 - 03:36 PM

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! :thumbsup:

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:00 AM

Posted 28 April 2008 - 03:52 PM

Ok, so now you know that Apache is working. Do you know on which port it worked? 80 or 8080?

#7 Seanio

Seanio
  • Topic Starter

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:08:00 AM

Posted 29 April 2008 - 01:15 PM

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 :thumbsup:

#8 Seanio

Seanio
  • Topic Starter

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:08:00 AM

Posted 29 April 2008 - 04:55 PM

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/ ??

#9 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:07:00 AM

Posted 30 April 2008 - 06:20 AM

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.

#10 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,250 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:05:00 AM

Posted 01 May 2008 - 02:29 AM

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

#11 Seanio

Seanio
  • Topic Starter

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:08:00 AM

Posted 01 May 2008 - 12:05 PM

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. :thumbsup:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users