Jump to content


Photo

web prefix?


  • Please log in to reply
1 reply to this topic

#1 mikeymizrahi

mikeymizrahi
  • Members
  • PipPip
  • Member
  • 17 posts
  • LocationBrooklyn, NY, USA

Posted 24 July 2006 - 05:31 PM

can i add a prefix to my site by editing apache settings, or using any other method?

for example, instead of having this address

mysite.com/gallery

having this one:

gallery.mysite.com


#2 oldmanice

oldmanice
  • Members
  • PipPipPip
  • Advanced Member
  • 134 posts
  • LocationIn Your Garden At Night

Posted 10 August 2006 - 03:38 PM

Yes there are two ways of doing that either your domian name DSn settings allowes you to do that or if not then create a vertial host

<VirtualHost xxxxxx
#    ServerAdmin Ur email address goes here
#    DocumentRoot The u will have to create a folder undernath this called .Gallery
#    ServerName Ur domian name goes here
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

</VirtualHost> xxxxx

BTW the xxx isnt kisses ;) its your local IP address wich can be found at http://whatismyip.com

If not then register a domian name with http://easily.co.uk they let you have a sub domian name
Join my Froums www.phpbbplanet.com/darkwinter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users