Webspace & Domain Names This is a discussion on, setting up own server within the Freedom2Surf forum; OK, I just bought a domain name from 123-reg.co.uk, and I've just decided to use IIS instead of apache since ...

Reply
 
LinkBack Thread Tools
Old 12-03-2005, 01:31 PM   #1
Tiscali User Member
 
KevCB226's Avatar
 
Join Date: Jul 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
setting up own server

OK, I just bought a domain name from 123-reg.co.uk, and I've just decided to use IIS instead of apache since it's already on the machine, but now I'm having problems setting it up.

I've created a domain in the forward lookup zones pointing to the nameserver of 123-reg.

But it still isn't working, are there any other settings I need to configure in IIS or on the 123-reg site?

Also do I need a domain in the reverse lookup up zones?

I thought I'd post a thread here since so many of you have got domain names from them, can anyone help?
KevCB226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13-03-2005, 08:04 PM   #2
Forum Ninja
 
kmount's Avatar
 
Join Date: Mar 2004
Location: Northamptonshire
Posts: 5,370
Thanks: 3
Thanked 20 Times in 19 Posts
Ok, im a linux/unix guy so im COMPLETELY anti IIS.

Log into 123-reg, and point the domain's dns to your ip.

This will mean that when someone visits yourdomain.com it will look to http://yourip/

Port forward port 80 from your router to your machine so that requests to http://yourip/ on port 80 will be forwarded to the correct place and not bounced by your router.

This should get you started. If you want to use PHP, use apache, if you want to use ASP use IIS.
kmount is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13-03-2005, 10:02 PM   #3
Tiscali User Member
 
KevCB226's Avatar
 
Join Date: Jul 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
OK just so I understand, when I go into modify DNS, I change the @ and www ip addresses to my computers ip address e.g. if my ip address was 123.456.789.0
I simply change it to that or do I have to add :80 on the end to look at that port.

I've already set my router to allow access to port 80.
KevCB226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14-03-2005, 03:26 PM   #4
Forum Ninja
 
kmount's Avatar
 
Join Date: Mar 2004
Location: Northamptonshire
Posts: 5,370
Thanks: 3
Thanked 20 Times in 19 Posts
You dont need to add :80 as normal HTTP requests are on port 80.

If you intend to host your own email server, you also require an MX record to point to you (IE, a mail exchange record which basically gives your machine authority to be email server)
kmount is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14-03-2005, 03:52 PM   #5
Tiscali User Member
 
KevCB226's Avatar
 
Join Date: Jul 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
OK, I've done that, but now it keeps connecting to my router, even tho I've allowed inbound access on port 80.

Why is it doing this?
KevCB226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14-03-2005, 05:16 PM   #6
Tiscali User Team
 
John's Avatar
 
Join Date: Oct 2004
Location: Yorkshire Dales
Posts: 688
Thanks: 1
Thanked 0 Times in 0 Posts
I think that it is because you are connecting off your connection, what happens if you try off dial-up or another person's connection?
__________________
John
Tiscali User Team


Netgear DG834G v2 Wifi-Router
Sync'd at 6.0MBit
20GB Capped F2S Cascade
Custom Built Lian-Li Fish Tank powered PC!
*************************************
Life is greener now were Tiscali User.
John is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15-03-2005, 04:07 PM   #7
Forum Ninja
 
kmount's Avatar
 
Join Date: Mar 2004
Location: Northamptonshire
Posts: 5,370
Thanks: 3
Thanked 20 Times in 19 Posts
If you try and do it from your pc you will see the router config page due to the way a router works (way around this is to add your domain to your hosts file).

If you try from someone elses connection it should work fine.
kmount is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30-03-2005, 11:24 AM   #8
Tiscali User Member
 
KevCB226's Avatar
 
Join Date: Jul 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
OK, I'm back again.

I just got someone to try to access my server, and they said that it just came up with the msn search page "cannot find the following site...." etc. So what haven't I done?

I've created a DNS on the server using the nameservers from 123-Reg.
I've gone onto 123-Reg and used my ip address as the domain dns.
I've allowed all access to port 80, inbound and outbound on my router.
I've assigned my ip address under the webservers properties in the IIS.

Am I missing anything?
KevCB226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30-03-2005, 01:39 PM   #9
Tiscali User Member
 
AndyB's Avatar
 
Join Date: Feb 2005
Location: Idle, Bradford
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by KevCB226
I've created a DNS on the server using the nameservers from 123-Reg.
I've gone onto 123-Reg and used my ip address as the domain dns.
I've allowed all access to port 80, inbound and outbound on my router.
I've assigned my ip address under the webservers properties in the IIS.

Am I missing anything?
Have you enabled port forwarding/nat on the router to send all incoming port 80 requests to the internal IP of your server? alternatively have you put the server in the DMZ
AndyB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 31-03-2005, 01:21 PM   #10
Tiscali User Member
 
KevCB226's Avatar
 
Join Date: Jul 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
OK, still having problems, found out that I had my IP address set to the routers IP address, so of course it wouldn't forward to the server, but I've corrected that now, and I've also added the internal IP address to the DMZ, and still it isn't working.

Any other suggestions, if it helps I'm using the Netgear DG834 router.
KevCB226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 31-03-2005, 01:36 PM   #11
Tiscali User Admin
 
aos101's Avatar
 
Join Date: Jun 2004
Location: Kent
Posts: 3,760
Thanks: 1
Thanked 6 Times in 6 Posts
Quote:
Originally Posted by KevCB226
OK, still having problems, found out that I had my IP address set to the routers IP address, so of course it wouldn't forward to the server, but I've corrected that now, and I've also added the internal IP address to the DMZ, and still it isn't working.

Any other suggestions, if it helps I'm using the Netgear DG834 router.
I've just tried accessing the webserver running on your IP now and thats working fine. But avoid using DMZ if at all possible as that looses you a lot of protection the router gives you. Just forwarding port 80 to your internal IP should work fine. I think the problem is that at 123-reg you've entered your internal IP of 192.168.0.2 rather than your public IP address. Change this in the 123-reg control panel to your public IP address (something like 83.67.x.x), wait for the DNS to update and it should work.

One thing to watch out for though is that accessing your website using its address from behind your router will not work because the DG834 doesn't support loopback connections. To test if its working you'll have to try the site from another Internet connection or a proxy server or a service like The Cloak which accesses the site from a different Internet connection that isn't behind your router.
__________________
Adam
aos101 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 31-03-2005, 02:48 PM   #12
Tiscali User Member
 
KevCB226's Avatar
 
Join Date: Jul 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
OK, I have used 192.168.0.2 as you said rather than my public IP, used the ipconfig command to get the information but obviously that's wrong, so is there anyway of getting my public IP address, e.g. is it in the members area on f2s, or will I have to get it another way?

Thanks for the reply
KevCB226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 31-03-2005, 02:54 PM   #13
Tiscali User Admin
 
aos101's Avatar
 
Join Date: Jun 2004
Location: Kent
Posts: 3,760
Thanks: 1
Thanked 6 Times in 6 Posts
Yes its in the members area under "Your ADSL Details" where its says "WAN IP Address", or you could just visit http://www.whatismyip.com/ from your connection and it will tell you.
__________________
Adam
aos101 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 31-03-2005, 03:05 PM   #14
Site Founder
 
Justin's Avatar
 
Join Date: May 2002
Posts: 4,355
Thanks: 4
Thanked 4 Times in 4 Posts
If you don't like the ads, you can use:
http://www.youripis.co.uk/

Sorry, had to say that!
__________________
Justin
Tiscali User
Justin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-04-2005, 03:19 PM   #15
Tiscali User Member
 
Join Date: Apr 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Okie.

Go to http://localhost/ on your computer. See the webpage? Good.

Find out your LAN IP by going Start --> Run, CMD, then type "ipconfig". It will say somewhere something like 10.0.0.144 - you'll need that.

Then, go to http://10.0.0.138 (or whatever your router's IP is), and go to Firewall Rules, then click on "Add" under the Inbound Services table. Create a new one for Port 80 (HTTP) to forward to your LAN IP, in my case 10.0.0.144.

Now, when someone else goes to your IP, or to your domain name, they'll get the page. Bingo!
Nippoo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-04-2005, 03:35 PM   #16
mark
Guest
 
Posts: n/a
Quote:
Originally Posted by KevCB226
I've assigned my ip address under the webservers properties in the IIS.
I'm not clear whether you've assigned your internal or external (87.*) address in here.

It needs to be your internal address.

If you are unsure, it will probably be fine to select "all unassigned" from the list in the IP address drop-down.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Up A Test Server Vger General Computing and Internet 12 18-01-2005 11:48 AM
Cannot connect to FTP server via WAN address (Resolved) Tom_H Freedom2Surf Broadband 9 10-09-2004 08:10 PM
Setting up web server Matt B Freedom2Surf Broadband 6 26-08-2004 10:01 AM
A Small issue with Inmail server authentication. Naveen E-Mail 8 29-04-2004 01:15 PM
Help with setting up web server Xanthe Freedom2Surf Broadband 1 09-12-2003 06:25 PM


All times are GMT. The time now is 05:42 PM.