Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Making my computer a server


  • Please log in to reply

#1
deathmetalgore

deathmetalgore

    New Member

  • Member
  • Pip
  • 2 posts
This is quite a common question I think, but it kind of differs for each user based on their hardware. So here I am, asking how to make my computer accessible to the web.

What do I need to do in order to have some sort of folder available on my computer which can be accessed through an IP address via the web?

These are my specifications which may be relevant to this question:
  • Operating System: Windows 8.1 64-bit
  • Modem: Thomson TCM420
  • Wireless router: Asus RT-G32
I'll be using the server to display my websites, so I actually need to have my server run Apache, PHP and MySQL.

I guess it's worth mentioning that I have XAMPP 1.8.3 installed on my computer, which provides the services I seek, but only locally as you might know.

What do I need to do in order to achieve this?

Sorry if I'm posting this topic in the wrong section. Please move it in case it is wrong.

Edited by deathmetalgore, 06 February 2014 - 05:28 PM.

  • 0

Advertisements


#2
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,090 posts
If you want to access it via your web server then you need to define it to Apache in the httpd.conf file and provide a web page to get to it.

Look at Alias in Apache.
  • 0

#3
deathmetalgore

deathmetalgore

    New Member

  • Topic Starter
  • Member
  • Pip
  • 2 posts
I'm actually meaning to make my computer something like a web hosting service, but only for myself. Like if I give someone my IP, they'd be able to see the data I let them view. I'm not looking to sell or something though.

Edited by deathmetalgore, 06 February 2014 - 04:15 PM.

  • 0

#4
Troy

Troy

    Tech Staff

  • Technician
  • 8,841 posts
If everything is working locally, sounds like you just need to open up the required ports on your modem/router and any software firewalls
  • 0

#5
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,090 posts
Private or public, you need to tell Apache about it so it can provide access to it. You do that with the Alias setting in the httpd.conf file in the Apache /conf directory.

I run a web server for my family and do this. I have several folders accessible for downloadind files from, all defined in httpd.conf. They are accessed via URL:

http://xxx.xxx.xxx.xxx/folder1

Alias /guest/ "G:/Folder1/"
<Directory "G:/Folder1">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP