Apache: How to view on the web?

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

r22pl

Established Member
Impact
0
How can i view my Apache from the Web?

I recently set up an Apache server and put some files in it and I can view by http://localhost/ or http://127.0.0.1/, but I want to know how to get it so others can view it as well

I've never done anything like this before so i dont know
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
r22pl,
if you have ADSL then you must have an external IP address which would be your server address. If you use DSL or Cable (or even Dial-Up :D ) then it's impossible. No matter how good and fast your internet is, without ADSL or better it's not possible.
 
0
•••
Nevermind i got it
 
Last edited:
0
•••
You will need to use your actual IP address to access your server from the web. go to www.whatismyip.com. Use that IP to access your site. You may need to edit your apache config file to set permission to "allow from all" to access your site and folders. Also make sure you let the correct ports for the server open. After all that You should be able to view your server on the web using your IP address (from your ISP, not your machine)

Apache config file name: access.conf

Each directory to which Apache has access, can be configured with respect to which services and features are allowed and/or disabled in that directory (and its subdirectories). Configure the "default"

<Directory />
Options FollowSymLinks MultiViews
AllowOverride None
Allow from all
</Directory>

On your router set a virtual server. A Virtual Server is used to allow Internet users access to LAN services. Enable IP of the server machine and the ports to allow access.

Virtual Server for HTTP access (the web) is usually on ports 80.
Private IP: x.x.x.x (use the IP the router assigns to this computer) . Open TCP Ports Private/Public: TCP 80/80 for this machiene running the server.
 
0
•••
alright thanks
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
URLs.com
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back