0

I have my website and I want it to be online for customers.

In the mean time I want to upload wordpress to the same domain and start configuring it, but without anyone seeing that.

My website has a simple structure (index.php, about.php, contact.php) and if I upload new WP it will overwrite my old index.php.

Is there anyway I can make it work? Sb goes www.mywebsite.com and is being redirected for example on www.mywebsite.com/old/index.php?

And only from my IP (static) I have normal access to www.mywebsite.com to get the configuration done?

user1251007
  • 15,891
  • 14
  • 50
  • 76

1 Answers1

0

(Assuming your using apache)

Use a new VirtualHost (http://httpd.apache.org/docs/current/vhosts/examples.html)

<VirtualHost *:80>
DocumentRoot /www/example1
ServerName www.example.com

# Other directives here

</VirtualHost>

if you want both to be assiible from the same domain at the same time, you will need either a subdomain or a change of port, Both are doable with the above block of code.

You will need to either reload or restart apache for the changes to take place

exussum
  • 18,275
  • 8
  • 32
  • 65