Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows 7 x64 and localhost to web

20 Jul 2012   #1

Windows 7 Home Premium x64
Windows 7 x64 and localhost to web

hey guys, I'm newbie in this forum! :P

I using Windows 7 Home Pre x64 and XAMPP in my computer, also I sharing my website from my personal computer: Kaan Kölköy - Ana Sayfa ...

So I sharing my website on a free domain but i want buy a domain, but I have some questions.

1 - Can I connect my computer to my domain??? and how? It's mean can I install a DNS server to my Windows 7?
2 - If I can't install any dns server to my windows 7, can I use as a host os like centos or windows server which installed to virtual pc?? It's mean I open my virtual os and my website will be activate...

ha guys?? :)

By the way: sorry for my English :)

My System SpecsSystem Spec
21 Jul 2012   #2

Windows 7 Ultimate x64

Hi, It's quite possible to serve a website from a Windows 7 computer on a home connection, but you'll run into a couple of issues.

First of all, you don't need a DNS server of yours at all for this. Your ISP or the domain registering authority from whom you buy the domain from will provide any means to have DNS on your domain pointing to your computer without you doing anything for that other that buy the domain itself. The DNS server of Windows 2008 (or any third party you may install) are meant to local networks domains more than serving internet requests.

But from what I can see, you have a much bigger problem: dynamic IP. When you buy a domain you tell the seller the IP you want to point it to. But if your IP changes the domain is no longer valid. The dynamic/fixed IP is provided by your ISP and most home connections use a cheap dynamic one. The domain you're using right now works because of the program you install on your computer that tells their servers what your IP is from time to time and updates their DNSs. By the way, most home ISPs don't like their users from serving websites from the connections and the terms many times forbidden that unless you buy a "business" class connection (with fixed IP).

I just tried out of curiosity to open your site and wasn't able to. Remember that you need the following for it to work to the outside world:
- Your computer permanently turned on with the Apache server working 24/7.
- Your computer must have a static local IP (in the network settings).
- Port 80 on your modem / router must be forwarded to that local IP.
- Your ISP must allow external connections from the outside world, which is not always the case. Ask them about a routeable IP address.

Personally if it were for me, at least to start, I would stay with the domain because of the static external IP issue. If latter want a real domain you can look after upgrading your internet connection, or seek a normal web hosting or server housing. It's possible to do it entirely from home but not easy.
My System SpecsSystem Spec
22 Jul 2012   #3

Windows 7 Home Premium x64

As first, really thanks for long answer...

1 - My ISP is allow to static IP for a little money
2 - My computer is open for 7/24 and running Apache, MySQL and PHP services

so I think I can a domain... but how can i put it to my Windows 7? Do I must install a server OS?
My System SpecsSystem Spec

22 Jul 2012   #4

Windows 7 Ultimate x64

No no, you don't need a server specific OS for that, Windows 7 can still act as a web server. The domain name doesn't request anything from your computer.

When you buy it, the seller will need to know your IP, and the only thing he does is to setup DNSs on somewhere so that, when someone types it, it points to that IP, that should be your home. That's the reason you need a fixed IP, you should really pay that little extra money if you want a domain pointing to you.

With that, you just setup your router to forward port 80 to that PC and you're done, apache will start serving webpages though your domain, there is no need for a specific OS configuration.
My System SpecsSystem Spec
22 Jul 2012   #5

Windows 7 Home Premium x64

aww, I just buy a domain and I will give my IP to my seller; is it all? :)
My System SpecsSystem Spec

 Windows 7 x64 and localhost to web

Thread Tools

Similar help and support threads
Thread Forum
localhost is not working
I try to connect to my localhost via firefox, i even have the localhost in my hosts file, and still does not connect. I was trying to configure a controller for JDownloader, and i need to check if my localhost works. Any help would be...
Network & Sharing
Unable to recover my files - Windows cannot access \\localhost\c$\@gmt
So long story... This morning, I logged into my computer and noticed that I didn't have my normal "admin" and "guest" accounts. The guest account turned into "Other user" account, and the picture got deleted. So, I went into the Control panel of the guest account, manually entering the...
General Discussion
Localhost not working
Hi lads, New here. The name is Dave. I'm hoping someone can help me out. When I try to view http://localhost , i get nothing . Page not found. I have WAMP server installed. I just can't seem to figure out whats wrong. I've restarted all the services in WAMP and everything but still,...
Network & Sharing
Cant browse to localhost with iis 7 and 2 ips
Hi Guys, Yesterday I was able to browse to http://localhost and see my iis webserver, today I installed an extra ip address onto my machine so I now have and and now when I browse to localhost I get a forbidden message? Does anyone know how to get my iis back...
Network & Sharing
Localhost FTP For Dreamweaver
More problems I don't seem to be able to get my FTP localhost server going with Dreamweaver I have downloaded XAMPP & installed it its working ok I have followed many tutorial Video's on the subject But when I go to view the new site it doesn't show it I am using Wordpress now its...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 11:11.
Twitter Facebook Google+