Solved

LAN Server domain myserver.project1

Posted on 2013-12-18
1
363 Views
Last Modified: 2013-12-27
Hello, I have a server working on Apache and now I can access each project through the URL http://myserver/proyect1, http://myserver/proyect2 and so on,  where myserver is the root, but I want it to look and work this way http://myserver.proyect1 where myserver.proyect1 is the root folder for that project.

My server is running on Mac OS 10.8 with XAMPP.

Thanks.
0
Comment
Question by:ivanblue
1 Comment
 
LVL 10

Accepted Solution

by:
acbxyz earned 500 total points
ID: 39739404
From a DNS point of view project1.myserver.mynetwork.local would be the better choice.
In your case, "myserver" can be found via your local dns server (build in internet router most times) or broadcast.
Excursion: In domain name context the most global part is on the right and it becomes more specific the further you go to the left. .local as toplevel-domain is reserved for private purpose.

To have other names be found you need either a configurable dns server or add all other names to the hosts-file of your client(s). (/etc/hosts or %WINDIR%\sytem32\etc\drivers\hosts). After this is done all those names direct to your apache.
In your apache config have a look at virtual hosts. Most distributions have their specific examples. I don't know XAMPP that far but it should come with example configs, too.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Create a default user profile for Mac OS X 10.7/10.8 Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being. 1. Install a…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now