Jump to content

網址顯示到底如何修改?


saviorho

Recommended Posts

我用的是自己的主機,裝的是apache2.xx,然後申請了一個網址,用它們的dns轉址服務

 

舉個例:

 

我今天想把 http://xxx.xxx.xxx.xxx/sample123

 

顯示成我申請的 http://www.sample123.com

 

試了很多方法:

 

.htaccess功能打開了,也創建了,大家的.htaccess是怎麼寫的

 

可是不管怎麼改,網址列輸入http://www.sample123.com ,最後還是跳轉顯示http://xxx.xxx.xxx.xxx/sample123

 

有人說修改apache2的vitural host就能辦到

 

到底要如何改起?

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...