Hosting Your Own Website On A Windows Server (PHP & ASP with IIS)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2013
  • In this video I show you everything you need to know to be able to host your website on your own server instead of paying for hosting someplace else.
    LINKS:
    PHP Download: www.php.net/downloads.php
    URL Rewrite for IIS: www.iis.net/downloads/microsof...

ความคิดเห็น • 105

  • @MattiasMagnusson
    @MattiasMagnusson 5 ปีที่แล้ว +1

    This is still helpful, even in Windows Server 2019. Comming from Apache this is very confusing, but you made it very easy. Thanks!

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว +2

    The whole static IP thing really depends on your provider. Most of the time you have to manually set the ip in the network adapter settings. At one of the locations I worked at the ISP gave us the IP, gateway and DNS addresses that were assigned to us. We simply plugged the web server into the modem and then entered those addresses in adapter settings. By default IIS binds to all adapters. So as long as you configure the static ip in the adapter IIS will be able to accept the connections.

  • @humbertorodriguez9084
    @humbertorodriguez9084 11 ปีที่แล้ว

    Very detailed. You are awesome... I was confused on how to point my website from godaddy to my local server at home, but you just enlighten me.

  • @dhananjaysawant10x
    @dhananjaysawant10x 9 ปีที่แล้ว

    a very nice job fella.. Thumbs up for your detailed explanation!!!! :)))))))))

  • @MarketForecasting
    @MarketForecasting 11 ปีที่แล้ว

    Thank you very much for this video tutorial. It was great to see this done step by step in such a fine way. :-)

  • @ladli21
    @ladli21 9 ปีที่แล้ว

    Great video! Thanks for taking the time to make it! :)

  • @7amadar
    @7amadar 9 ปีที่แล้ว

    great job brother, thanks it's been informative :).

  • @AmadAlim
    @AmadAlim 3 ปีที่แล้ว

    Still amazing tutorial. Thank you.

  • @collinstewart9234
    @collinstewart9234 9 ปีที่แล้ว

    Solid, helpful video!

  • @lego4402
    @lego4402 9 ปีที่แล้ว

    When you are configuring the website domain are you entering the public ip address or the local address of the server on the network

  • @bvinodhraj
    @bvinodhraj 9 ปีที่แล้ว

    Very nice video man. Thanks for it... :)

  • @stevesbeez
    @stevesbeez 9 ปีที่แล้ว

    Great tutorial. Thanks for sharing

  • @jasejdv
    @jasejdv 11 ปีที่แล้ว

    Great video very good overview thanks for uploading

  • @claudioabado6246
    @claudioabado6246 9 ปีที่แล้ว

    Merci beaucoup. Thank you VERY, SO VERY MUCH! Thank you for being so generous with your time and with your knowledge and experience. The world is a better place to live in because of people like yourself :-)
    Two questions, if I may.
    First, what would you say are the security risks of hosting one's web site? Isn't it exposing one's private network to the whole intenet?
    Second,on a home network of 5 PCs, I have no choice but to manually assign all static IP addresses to all my machines and network printers?

  • @sangamijee
    @sangamijee 10 ปีที่แล้ว +1

    I did point the domain to my ip. Port forwarding is done to server's IP. no problem from isp regarding port blocking. I ve static ip.
    Hosted html file as \inetpub\mysite\index.html
    binding as type: http; hostname:****.com;Port:80;IP addreee: server's ip.
    tried to browse, still shows site not accessible.
    I Pinged the domain. It replies from right ip address. Dont know whats wrong?

  • @Jaezex
    @Jaezex 11 ปีที่แล้ว

    Thanks for the quick reply it was really helpful. I forgot to add, how do i actually bind my paid Static IP Address in IIS if i do not have a Router because in the case of your example you were using a Router. If you can come up with a video concerning VPN i will appreciate, because most videos doesn't cover the the whole detail like you did in a single video concerning this topic.

  • @atccompany1937
    @atccompany1937 5 ปีที่แล้ว

    Hello,
    I have IIS server that hosted many live website on it, I need to move just one of these website to another separate iis server.
    I need a full steps to migrate the folders and database of that website to the new iis server please

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว

    If your web-server is plugged in directly into the internet modem (aka facing internet directly) without a router then of course you don't need to do any port forwarding since all incoming traffic will be going to the server to begin with. With a router, when there is a new incoming connection on port 80/443, it does not know to which machine to send it to unless you configure port forwarding (even if you have just 1 machine plugged in). Without forwarding incoming web requests will get ignored

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว +1

    These days usually the domain name providers (like GoDaddy) have their own DNS which you can configure via their website once you buy the domain name. So you won't need to install your own DNS. The only time you would need DNS server is if you are setting up Active Directory Domain in your location.

  • @RanaAbdullah-qf9kw
    @RanaAbdullah-qf9kw 6 ปีที่แล้ว

    I have api in web service c# can I make a curl by php using localhost or free host? I need help to solve this problem.

  • @RutvikPatel2611
    @RutvikPatel2611 7 ปีที่แล้ว

    this will make localhosted website ..automatically online? i mean if i do all this port forwading with satatic ip ? or do i need make changes in config file or something! if possible please respond

  • @sanjay24990
    @sanjay24990 9 ปีที่แล้ว +1

    can we use wamp or xamp server instead of cgi

  • @terosefer
    @terosefer 8 ปีที่แล้ว

    That's cool tutorial , thanks a lot.

  • @sameenkhan9209
    @sameenkhan9209 5 ปีที่แล้ว

    excellent excllent video it helped me alot

  • @stuartknight1325
    @stuartknight1325 6 ปีที่แล้ว

    Noob question: When I create the ASP and PHP txt files as he outlines, then try to load them using localhost/ , it seems to load the file in the view of a FTP file server and it will let me open the file as a txt instead of the intended display. This is on windows server 2016. Anyone have any ideas about which setting would need to be adjusted? Much appreciated. note: I did uninstall the FTP server and reboot, but still had same issue.

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว

    Also thanks for the VPN suggestion. There are a lot of different aspects that VPN is used for (ex. connecting remote domains, allowing users to connect to the internal network from outside). Is there anything specific you are interested in?

    • @munirazman279
      @munirazman279 3 ปีที่แล้ว

      what i the function oh the vpn in here

  • @Jaezex
    @Jaezex 11 ปีที่แล้ว

    Hi this is the best ever step by step tutorial have ever seen.
    But must this port forwarding be done with a router?
    cant i host without a router. in fact how does the router even handle port forwarding?

  • @BeyondTheUnboxing
    @BeyondTheUnboxing 7 ปีที่แล้ว

    Hi, I am able to publish my website successfully however when other people want to visit my website they are not able to please tell me what exactly I'm doing over here

  • @saidbakr
    @saidbakr 9 ปีที่แล้ว

    Very good tutorial but It need an addition about creating mail server running and uses inboxes.

  • @Housestationlive
    @Housestationlive 9 ปีที่แล้ว

    does it works with wordpress please ? (it requires mysql i think)

  • @BrofaBloke
    @BrofaBloke 9 ปีที่แล้ว

    Very good!

  • @ransar5028
    @ransar5028 4 ปีที่แล้ว

    Hello. I want to deploy two scripts on my server one is moodle and second is nopcommerce. Can I host two website using one static IP. Please guide

  • @epeemetalworks7313
    @epeemetalworks7313 ปีที่แล้ว

    Thanks a lot for this video! Just want to know how to configure IIS to direct to the wwwroot/admin folder of a PHP Codeigniter application.
    Application back-end: PHP Codeigniter
    Application front-end: ReactJS
    Application DB: MySQL
    OS: Microsoft Windows 2019
    The issue is that users are redirected to [IP Address]/admin/admin instead of [IP Address]/admin/

  • @emiliobianchi3652
    @emiliobianchi3652 5 ปีที่แล้ว

    where can i buy windows server 2012 for email marketing?? to send unlimited emails

  • @winsys2010mf
    @winsys2010mf 11 ปีที่แล้ว

    So you don't have to create A records or private nameservers on your hosting computer? How is that handled? Or does the site you went to D-Zone handled it?

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว

    This video is about hosting everything yourself. But, you still need to purchase the "domain name that you want and that isn't taken" (which costs about $9 per YEAR [no way around this]) (hosting costs adl $3+/month [which we will not pay since we are hosting ourselves]). You don't have pick godaddy, you can buy the domain from any other domain selling site. Once you do you still need to go to their DNS control panel and create proper records pointing the domain to your hosting server/computer

  • @nightxwingjedi
    @nightxwingjedi 11 ปีที่แล้ว

    question? i want to create a website by using window server 2008 does it work on Vmware?

  • @albinhakansson3323
    @albinhakansson3323 9 ปีที่แล้ว

    this works for just html & css files?

  • @sameenkhan9209
    @sameenkhan9209 5 ปีที่แล้ว

    i have installed iis on my local pc and want to use it for hosting ..i have purchased a domain... please make a video how can i configure godaddy to point my domain to my laptop so that my website goes live... i put my real static ip on names server but it opened my router page instead of my laptops iis website ... please guide me from scratch how can i do it because godaddy interface is also changed please help me out plz thumbs up for ur help

  • @tareqabuamer
    @tareqabuamer 8 ปีที่แล้ว

    i'm trying to follow you but i can not find the server management consol would plz clear it step by step

  • @Jaezex
    @Jaezex 11 ปีที่แล้ว

    My main aim is to make my Web Application accessible from a VPN through the internet.But what i really want to know is what i need to create a VPN server, do i need to get a paid static IP address.
    Most videos I've seen creates a VPN server but they ignore the most important part which is the IP address. What IP does the VPN client connect to?, is it created when creating the server? Do i pay for it?, are VPN software based do i need a hardware?
    Do you think LogMeIn Hamachi is for this purpose

  • @waqarwld
    @waqarwld 10 ปีที่แล้ว

    what about if I want to use website from Godaddy and and other service like crm server or lync server . from windows server 2012 .what records I have to change and tell some more about all that records like cname ,mx, aaa, a, srv, etc.thanks

    • @itsmtutorials
      @itsmtutorials  10 ปีที่แล้ว +1

      Is the CRM or LYNC running on your servers or a third part servers? All different kind of DNS records are beyond the scope of this video. The only important ones are A and AAA (both used for same purpose but A is for IPV4 and AAA for IPV6). The A records point a specified DNS name to an IP address. So depending where the website is actually hosted, GoDaddy, CRM, LYNC or your own Server, the A record needs to point to the IP of that server. I will be talking about different kinds of DNS records in my DNS tutorial, but I don't have estimated release date for that video as of now.

  • @shivamahire670
    @shivamahire670 8 ปีที่แล้ว +1

    Thnx

  • @lnlokeshkumar
    @lnlokeshkumar 10 ปีที่แล้ว

    GOOD ONE

  • @jdamaterasutensho
    @jdamaterasutensho 11 ปีที่แล้ว

    Hi Mr.!! Good video!! I have a question: if I want put online my server with my website, I need install a own DNS server?

    • @itsmtutorials
      @itsmtutorials  6 ปีที่แล้ว

      No you do not need a local DNS server to put your site online. The registrar who you register your domain with has a DNS server where you have to provide you public IP. Which will point the users to your site.

  • @klandaika09
    @klandaika09 11 ปีที่แล้ว

    So what you are trying to do is make your website read some data from the .mdb file and then display it to the user?
    If that is the case then you will need to use ODBC connection to connect from your website source to the database file and get the data.
    If you are using PHP on your site google: "php ms access"
    W3schools has tutorial on that. If you use any other language do similar search and you should be able to find a solution.
    Is this what you are trying to do?

  • @ClintonCoop78
    @ClintonCoop78 11 ปีที่แล้ว

    Novice server builder here. So I got a static IP from my isp, and created a dns/ad/dchp/iis service on my web server (in a test environment)). My LAN ip address is XXX.XXX.10.1 and I set my server dns static ip address to xxx.xxx.10.2. So which ip do I point my godaddy dns zone file to, the static Ip from my ISP or the dns ip for my server? I am getting a 504 error as of right now.

  • @julius
    @julius 11 ปีที่แล้ว

    Do you know any domain you not need to pay for?

  • @apemode
    @apemode 8 ปีที่แล้ว

    Instead of a Static IP, you could use a Dynamic DNS service such as no-ip or dynDNS

    • @itsmtutorials
      @itsmtutorials  6 ปีที่แล้ว +1

      Many ISPs block common web ports unless you buy static ip. With dynamic DNS your site will experience prolonged downtime whenever your IP changes until DNS records finish propgating

  • @sanjay24990
    @sanjay24990 9 ปีที่แล้ว

    after this how to handle database???

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว

    I'm not quite sure what you mean. What exactly are you trying to do? Hosting msaccess.mdb file via IIS is not a common thing. If you need users to have the ability to modify and save changes to your db file this is not a solution to the problem.
    In terms of IP, I don't believe the video shows my external IP in the router setup. I used an example IP address during port forwarding, but that is the IP of the IIS server where we want the external traffic to be forwarded to.

  • @arvindsaini6310
    @arvindsaini6310 10 ปีที่แล้ว

    Great

  • @xbraim
    @xbraim 10 ปีที่แล้ว

    good man

  • @HARRPPZZ
    @HARRPPZZ 10 ปีที่แล้ว

    OMG thanks alotttttttttttttttttttttttttttttttttttt

  • @olumakande6536
    @olumakande6536 7 ปีที่แล้ว

    Hello,
    This is my first project in IIS, so I am a newbie. I was creating an intranet website with wordpress on IIS. Everything was set up, but i noticed that though I can access the webiste on the IIS server but i cant access it outside the server in the same network/domain or even outside the network. What are my missing?? Please I need your help

    • @alexb-vh4nq
      @alexb-vh4nq 7 ปีที่แล้ว +1

      i m a newbie too, but i'd say try checking your firewall and its settings, on your router and on the PC itself, thats what i would do

  • @kuyaYves
    @kuyaYves 11 ปีที่แล้ว

    ok i have a software who have a database .mdb [msaccess file] file on my desktop.. and need to connect it to my website.. i know im in a wrong video.. but do you have an idea how make this happend?

  • @haikson
    @haikson 11 ปีที่แล้ว

    Hello, thank you for this tutorial.
    Can i connect to my own website via static or dynamic ip address without paying for domain to (example "godaddy") ?
    SORRY for my bad English. thank you!

    • @itsmtutorials
      @itsmtutorials  6 ปีที่แล้ว

      Unless you become a domain registrar (which is a complex and costly process www.verisign.com/en_US/channel-resources/become-a-registrar/verisign-domain-registrar/index.xhtml), you will have to pay for a domain. Basically what you are paying for is to put your chosen domain into the global registry of all domains and the ability to assign IPs to your domain and sub domains.

  • @tonyyeung5276
    @tonyyeung5276 4 ปีที่แล้ว

    very helpful man, i guess you dont have more videos which you can monetize

  • @julius
    @julius 11 ปีที่แล้ว

    Is it possible to host a website on a computer for free with a domain name that I want and that isn't taken...? Why you need to go to GoDaddy? I want to host everything myself... how to do?

  • @munirazman279
    @munirazman279 3 ปีที่แล้ว

    can somebody help me? why i get an error for just to run the simple code 10:33

  • @MtnXfreeride
    @MtnXfreeride 10 ปีที่แล้ว +1

    When I run my index.php file with the code to display phpinfo, I just get HTTP Error 500.0 - Internal Server Error An unknown FastCGI error occured Error Code
    0x8007010b. Any tips for this? Followed everything 2x through to be sure.

    • @MtnXfreeride
      @MtnXfreeride 10 ปีที่แล้ว +1

      Turns out the php files cant be saved on the desktop, I placed them in my C root directory and we work now.

  • @vishwaratna4195
    @vishwaratna4195 ปีที่แล้ว

    I know that website server setup is required to build website for global communication. But lot of developers are using 'filezilla software' and 'other software' for website development. But I want 'website server setup' by only computer OS. For example : 'Map networking drive' in My computer section for edit the website. I have unlimited Linux webhosting plan. Can advice how to setup website server without command OR without 'Filezila'?

  • @kuyaYves
    @kuyaYves 11 ปีที่แล้ว

    why is that you have a ip in your domain.. then you have different in your router? is that fine? sorry noob here... i have a project that must access a msaccess mdb file to our host... i came up with iis...
    do you have any idea how to access mdb file directly in our website?

  • @ariseserver2020
    @ariseserver2020 6 ปีที่แล้ว

    Nice

    • @imraazali237
      @imraazali237 5 ปีที่แล้ว

      What about multiple website hosting

  • @raghunathramprajapati2492
    @raghunathramprajapati2492 4 ปีที่แล้ว

    Is Windows web server good or Ubuntu server good?

  • @jorgeluisdepoolkhoury9221
    @jorgeluisdepoolkhoury9221 10 ปีที่แล้ว

    in the 11:27 the php test, it giveme an error.

  • @Overdrive_Rep
    @Overdrive_Rep 8 ปีที่แล้ว

    I Want To Be A host well maybe i dont but i am thinking about being one

  • @saikishorecool
    @saikishorecool 8 ปีที่แล้ว

    when i add a default.asp in wwwroot and clicked on browse 8 it gives me The Web server is configured to not list the contents of this directory. when i enable directory listing it gives the view like a file manager which i dont want .. how to fix this

    • @SathyaPrakashMoparthi
      @SathyaPrakashMoparthi 7 ปีที่แล้ว

      Hi Sai, I hope the issue is resolved by now. If not, there is something called "Default Document". This controls which page to show. Although there is a list of pages there, move the page you want to top of the list. The controls are on right side. When prompted, say Yes. This should resolve :)

    • @saikishorecool
      @saikishorecool 7 ปีที่แล้ว +1

      Yes.. It's resolved long back.. Sathya.. Will get back if needed :)

  • @genkikidsjapan
    @genkikidsjapan 8 ปีที่แล้ว

    I get the "This site can’t be reached IP.IP.IP.IP took too long to respond. Not sure why that is.

    • @RutvikPatel2611
      @RutvikPatel2611 7 ปีที่แล้ว +1

      that may be because ur isp is blocking such request. just search for ur external ip and ping (external ip) -t in cmd if it says ttl limite exceed or something. .it might be one of the factor!

  • @yubrajpanthi3655
    @yubrajpanthi3655 9 ปีที่แล้ว

    I have created a website using mvc. But I am not able to deploy it in the domain I bought. Can anyone help???

    • @ankitMorker
      @ankitMorker 8 ปีที่แล้ว

      can u help me how to make my old pc into web server

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว

    Unfortunately not in any easy way. All root domain records are maintained by companies that own them and they need to have some sort of income to be able to maintain their systems. So if you want a .com, .net, etc. domain you need to pay them for it.
    Alternatively you could become a domain root owner but I believe it is much more expensive than $9. However, I never looked deeply into this option.

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว

    In my case, my bill increased by about $50/month since I started running a server.

  • @Bookmyidentitynow
    @Bookmyidentitynow 8 ปีที่แล้ว

    These days, hosting a website on a #windows #server with the help of (PHP, ASP & IIS) is easy! BookMyIdentity also offers multiple hosting solutions at attractive costs!

  • @jdphd123
    @jdphd123 11 ปีที่แล้ว

    Your electric bill now is more because you are using your computer as a S erver. How do you stop the use of your computer as a Server. If you use it long enough only to create a website it should not cost very much(?)

  • @julius
    @julius 11 ปีที่แล้ว

    So there is no way to have a own domain without paying? O_o =(

  • @prakashramu9236
    @prakashramu9236 6 ปีที่แล้ว

    Currently GoDaddy is asking for name server of my ISP.

  •  4 ปีที่แล้ว

    Godaddy sucks, when you search a name they snag it so you can’t use it with another company until you buy it from them, I searched 10 names that were avail and next day searched same names with other provider and all were taken because godaddy...

  • @winsys2010mf
    @winsys2010mf 11 ปีที่แล้ว

    Excuse me. I meant D-Link.

  • @dana856
    @dana856 9 ปีที่แล้ว

    ***** There is no way for a domain but subdomains are free

  • @isobitfullstreams9049
    @isobitfullstreams9049 7 ปีที่แล้ว

    bullshit to pay money

  • @dgtal2926
    @dgtal2926 4 ปีที่แล้ว

    I will not give Godaddy more money. The assign their own IP to your domain and the want $12 for a dedicate IP

    • @dgtal2926
      @dgtal2926 4 ปีที่แล้ว

      *dedicated

  • @itsmtutorials
    @itsmtutorials  11 ปีที่แล้ว

    There is none.
    By the way, running a computer 24/7 costs a lot of money in electricity costs. Way more than $9 a year. So if you are willing to pay for electricity to run this, I'm quite sure $9 for a year of domain ownership is not going to break the bank.