Jump to content

Archived

This topic is now archived and is closed to further replies.

mikeymizrahi

web prefix?

Recommended Posts

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

for example, instead of having this address
[color=red]
mysite.com/gallery
[/color]
having this one:
[color=green]
gallery.mysite.com
[/color]

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.