Arkadaşlar bir tane tutorial izlerken adamın mamp pro kullandığını gördüm adam c: den herhangi bir klasör seçip kendi domain adını yapabiliyordu. örnek olarakhttp://wordpress.dev yazıyordu ve bilgisayardaki C: deki wordpress klasörüne bağlandı ama paralı program bunu yapabilen bedavalocalhost programı varmı ?? umarım anlatabilmişimdir.
Çok sağolun ama gerek kalmadı internette buldum cevabını. Sizin dediğiniz sadece adını değiştiriyor.
ben xampp kullanıyorum C:\xampp\apache\conf\extra girip httpd-vhosts.conf açıp
<VirtualHost blueshoesokay.dev:80> DocumentRoot "C:/Users/SmallVille/Dropbox/Projelerim/blueshoes" ServerName blueshoesokay.dev ServerAlias blueshoes.okay.dev <Directory "C:/Users/SmallVille/Dropbox/Projelerim/blueshoes"> Options Indexes FollowSymLinks MultiViews Includes ExecCGI AllowOverride All Order Allow,Deny Allow from all Require all granted </Directory> </VirtualHost> <VirtualHost woodsman.okay.dev:80> DocumentRoot "C:/Users/SmallVille/Dropbox/Projelerim/woodsman" ServerName okay.dev ServerAlias woodsman.okay.dev <Directory "C:/Users/SmallVille/Dropbox/Projelerim/woodsman"> Options Indexes FollowSymLinks MultiViews Includes ExecCGI AllowOverride All Order Allow,Deny Allow from all Require all granted </Directory> </VirtualHost>
böyle yaparak aynı yerdeki klasöleri iki farlı domainle açabilmeme yaradı. bide host dosyasına eklemek lazım tabi
# Copyright (c) 1993-2006 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresSes to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name deNoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host