+ Post New Thread
Results 1 to 6 of 6
Web Development Thread, Help making a website available on the Internet in Coding and Web Development; Hi Guys, Web side I am a complete beginner - so please excuse any stupid assumptions I make. Here is ...
  1. #1
    Mr.Ben's Avatar
    Join Date
    Jan 2008
    Location
    A Pirate Ship
    Posts
    941
    Thank Post
    182
    Thanked 157 Times in 126 Posts
    Blog Entries
    2
    Rep Power
    65

    Help making a website available on the Internet

    Hi Guys,

    Web side I am a complete beginner - so please excuse any stupid assumptions I make.

    Here is the scenario:

    Windows 2k8 running XAMPP and then Wordpress

    Internally, wordpress works correctly - auths to AD etc with salted and hashed passwords. (On http://myserver.mydomain.local/wordpress)

    I have made a firewall change with the SWGfL to allow access to ports 80 and 443, using NAT.

    Do I need to do anything else with XAMPP to make it recieve requests from - All I am seeing is connection timed out when trying to connect using http://mynatt'edip/wordpress

  2. #2

    Join Date
    Jun 2010
    Location
    Birmingham, UK
    Posts
    48
    Thank Post
    1
    Thanked 13 Times in 13 Posts
    Rep Power
    11
    Hi,

    Are you using the internal or external IP when testing?
    When in the SWGfL, does http://internal-IP-of-server/wordpress work ?
    When external to the SWGfL, does http://external-IP-of-server/wordpress work ? (This is the NAT IP given to you)

    You need to setup the vitrualhost file. I found this tutorial which I am sure can be adapted or point you in the right direction.

    Please bare in mind that XAMPP should NOT be used for a live web server. This is from their website:
    “XAMPP is not meant for production use but only for developers in a development environment. XAMPP is configured is to be as open as possible and to allow the web developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.”

    But you can check this link on your localhost to check the security settings - http://localhost/security/ - to harden the web server.

  3. Thanks to PeteW from:

    Mr.Ben (6th February 2012)

  4. #3
    jamesfed's Avatar
    Join Date
    Sep 2009
    Location
    Reading
    Posts
    2,192
    Thank Post
    134
    Thanked 340 Times in 287 Posts
    Rep Power
    84
    As said above I would never ever use XAMPP as a web host - just tooo many security related things could go wrong with it.

    As you are running on 2k8 I would suggest that you use IIS instead - also are you running any kind of firewall (TMG/Smoothwall/ect)?

  5. Thanks to jamesfed from:

    Mr.Ben (6th February 2012)

  6. #4
    Mr.Ben's Avatar
    Join Date
    Jan 2008
    Location
    A Pirate Ship
    Posts
    941
    Thank Post
    182
    Thanked 157 Times in 126 Posts
    Blog Entries
    2
    Rep Power
    65
    Cheers Guys,

    I had missed the part about XAMPP not being for production environments - I'll correct asap and move to something else, In the meantime I've already followed the security recommendations.

    Internally I can see the webserver, but http://external-IP-of-server/wordpress does not.

    I've set up the virtual web hosts file to point blog.myschooldomain.com to the wordpress installation, internally this seems to work.

    Should I be able to see the website on http://external-IP-of-server/wordpress if the SWGfL have configured NAT correctly?

    Firewall is provided by the SWGfL, I have to put in change requests to change (as I have done). Windows Firewall is also on, allowing only Port 80 at the moment. Turning it off (for a moment) has no effect on the external connectivity.

    Any suggestions on what I should build the website on?
    Last edited by Mr.Ben; 6th February 2012 at 10:43 AM.

  7. #5

    Join Date
    Jun 2010
    Location
    Birmingham, UK
    Posts
    48
    Thank Post
    1
    Thanked 13 Times in 13 Posts
    Rep Power
    11
    If the NAT has been setup properly, then as long as the host file has been configured to accept the IP address then your setup sounds OK. I found this on the Apache support site. Scroll down a few and it shows an example of what sounds like your setup. (2 IP addresses, one internal, one external)

    If you are using a Windows enviroment, IIS7 is probably your best bet. Can take a little while getting used to the interface but by default it is well locked down security wise (previous versions were left open). Just don't deploy it on a DC or other school critical server for added security.

  8. #6
    Mr.Ben's Avatar
    Join Date
    Jan 2008
    Location
    A Pirate Ship
    Posts
    941
    Thank Post
    182
    Thanked 157 Times in 126 Posts
    Blog Entries
    2
    Rep Power
    65
    Cheers again Pete,

    Spoke with the SWGfL team today and the NAT had not been set up properly.

    The current setup is on it's own Virtual Machine, hosted by Hyper-V. I'll boot up a new one and transfer to IIS.

    Thanks for your help, Ben

SHARE:
+ Post New Thread

Similar Threads

  1. [Website] The best site on the internet.....
    By mattx in forum Jokes/Interweb Things
    Replies: 1
    Last Post: 23rd July 2011, 05:02 PM
  2. England match only on the internet
    By elsiegee40 in forum General Chat
    Replies: 33
    Last Post: 22nd October 2009, 05:52 PM
  3. [Pics] Someone is wrong on the internet!
    By somabc in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 4th December 2008, 10:04 AM
  4. ISA only letting me on the Internet
    By mrforgetful in forum Windows
    Replies: 1
    Last Post: 23rd May 2008, 09:55 AM
  5. Replies: 4
    Last Post: 22nd July 2007, 04:31 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •