1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to upload to server

Discussion in 'Installation, Upgrade, and Import Support' started by Trombones13, Oct 6, 2010.

  1. Trombones13

    Trombones13 Well-Known Member

    I'm sorry for how ignorant this post will be, haha.

    I recently downloaded the free version of the Zend server to use for my XenForo copy. I'd like to use it to test stuff (though I don't know if it matters whether or not it's local...does it?), and I downloaded and extracted the XenForo folder. ...Now I'm stuck. :( Where do I go from here to install my forum?

    Thanks so much in advance for any help you can offer...I just don't know what I'm doing with this part! :(
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Doesn't matter. Though if you are doing it locally then you need to know how to manage a web server. Otherwise it is best to rent a server from one of the many hosting companies out there.

    Upload the contents of the upload folder from the xenforo zip file to your server. Then visit the URL of your site and it should automatically start the install.
     
    Trombones13 likes this.
  3. Blandt

    Blandt Well-Known Member

    did you configure zend server with IIS or apache?

    (we'll go from there ;))
     
    Trombones13 likes this.
  4. Trombones13

    Trombones13 Well-Known Member

    I have some knowledge using the web server for vB, but it was through a different FTP client, not Zend, which is confusing me. :/

    Does it matter where I put the files (under Zend, ZendServer, etc.)? And if I have it locally installed, is the URL based on my IP address, localhost, etc (and is this what I put under "Your Licenses")? Also, do I need to edit the php.ini file, as I read elsewhere on the forum?

    Sorry I'm not so educated on this...haha ^_^;

    EDIT: @Nizar Meddeb: No? Not sure what that means. :/
     
  5. Blandt

    Blandt Well-Known Member

    During Zend server installation it should prompt you and ask if you want to use IIS or install apache. Which one did you choose?

    If you configured zend server during install to work with IIS then your public folder is inetpub
    if you used apache then hotdocs is your public folder.

    and you can set your hosts file with any domain you might choose so you don't have to go localhost (will get to that later) for now we need to know your public folder
     
    Trombones13 likes this.
  6. Trombones13

    Trombones13 Well-Known Member

    Ah; then I'm pretty sure it's Apache (I don't remember choosing, but I have an Apache2 folder with an htdocs folder inside). I take it that's where I put the files, then?

    Thanks for the help so far, by the way--really appreciate it!
     
  7. Blandt

    Blandt Well-Known Member

    Yes sir, that's where what's inside the upload folder go.

    Now which version of windows are you using? vista , 7 ? and also 64 or 32 bits?
     
    Trombones13 likes this.
  8. Trombones13

    Trombones13 Well-Known Member

    Cool; in they go!

    I'm using Windows 7; 64 bits. :)
     
  9. Blandt

    Blandt Well-Known Member

    Alright .. then do this right click notepad and "run as administrator"
    open the hosts file located here
    c:\windows\system32\drivers\etc\hosts

    and ad this line at the end
    127.0.0.1 mydomain.com

    Save and exit

    then just point your browser to mydomain.com and follow xenforo instructions for install

    Let me know
     
    Trombones13 likes this.
  10. Erik

    Erik Well-Known Member

    It's actually better to point localhost to 127.0.0.1, so you're not redirecting a real domain name. If you accidentally forget about this rule, you could spend a lot of time pulling your hair out trying to figure out why you can't access your own site when you've created the problem yourself. :)
     
    Trombones13 and Nizar Meddeb like this.
  11. Blandt

    Blandt Well-Known Member

    Some scripts that use redirects won't work with localhost.
    But YES you are right

    @trombones when you are done playing with this delete that line you added to your hosts file :D
     
    Trombones13 likes this.
  12. Trombones13

    Trombones13 Well-Known Member

    What should I put instead of 127.0.0.1 mydomain.com, then?
    (Also, am I going to need to use the one domain I have [used it a while ago for something; don't now], or can I go without one [and if I do, will it be able to be non-local? That's not a big deal at all, but if the option's available to make it public, I don't see why not :)]?)
     
  13. Erik

    Erik Well-Known Member

    Use whatever you feel like. Personally I would use localhost for clarity, but it's up to you. Just be aware that you'll essentially be locally 'hijacking' whatever domain you pick, so you won't be able to access the "real" version of that site. (For example, if you choose www.google.com, then anytime you try to visit www.google.com in your browser you'll get your local site, not the real www.google.com). And no, this won't make your installation non-local. If you want your installation "on the web", you'll have to sign up with a web host. :)
     
    Trombones13 likes this.
  14. Blandt

    Blandt Well-Known Member

    Basically you are telling your win7 that mydomain.com is located at your localhost (127.0.0.1) and it will not go look for it at the DNS.
    So you can use your domain you own right now. do your thing, customize ..etc.. and when you are ready to deploy, backup your files and database, deploy to your server and delete that line you added to your hosts file ;)

    So did it work for you?
     
    Trombones13 likes this.
  15. Trombones13

    Trombones13 Well-Known Member

  16. Blandt

    Blandt Well-Known Member

  17. Blandt

    Blandt Well-Known Member

    ok did you start your server?

    start your zend server
     
  18. Erik

    Erik Well-Known Member

    If you want it to work without messing with the hosts, you can just type in 127.0.0.1 in your browser. ;) And yeah, the web server needs to be running. :)
     
  19. Trombones13

    Trombones13 Well-Known Member

    *sigh* Well, I was hoping not to have to ask this so I might look like somewhat less of an imbecile:

    How exactly do I start it? :oops:
     
  20. RvG

    RvG Active Member

Share This Page