Converting folder to domain

Discussion in 'Domain Names' started by pr0xy122, Jul 31, 2007.

  1. #1
    Is there a way I can make :domain.com/blog into one domain so: blog.com
    withut having to move any files in FTP?

    I hope you understand what i am asking. Thanks. :p.
     
    pr0xy122, Jul 31, 2007 IP
  2. dollarman2007

    dollarman2007 Banned

    Messages:
    867
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i think i understand you.
    for instance if someone types domain.com they will be redirected to domain.com/blog that is you dont want any site in the root directory?
    this can be done in 2 ways.
    1st method - add a file called index.htm to the root directory (domain.com/index.html or domain.com/public_html/index.html) now add a link to domain.com/blog in this html file, (please dont ask me how i am dumb in html) and add some text "site is here", "site moved here".
    So whenever some enters domain.com, they will see the button and they will click it and redirected to domain.com/blog, this is manual.
    2nd Method - you need to add some .htaccess file (its already there, but you need to edit some values which i dont know, am sorry dumb in php and programming, cant help it), after you edit that .htaccess file whenever someone types domain.com they will be automatically redirected to domain.com/blog.

    Hope it helps though i am dumb
     
    dollarman2007, Jul 31, 2007 IP